Test Result : DefaultDittoHeadersBuilderTest

0 failures (±0)
22 tests (±0)
Took 25 ms.

All Tests

Test nameDurationStatus
buildReturnsExpected1 msPassed
constructBuilderFromHeadersWorksExpected0 msPassed
emptyReturnsEmptyDittoHeaders4 msPassed
jsonRepresentationOfDittoHeadersWithChannelOnlyIsExpected1 msPassed
jsonRepresentationOfDittoHeadersWithCorrelationIdOnlyIsExpected4 msPassed
jsonRepresentationOfDittoHeadersWithReadSubjectsOnlyIsExpected1 msPassed
jsonRepresentationOfDittoHeadersWithResponseRequiredOnlyIsExpected1 msPassed
jsonRepresentationOfDittoHeadersWithSchemaVersionOnlyIsExpected1 msPassed
jsonRepresentationOfDittoHeadersWithSourceOnlyIsExpected0 msPassed
jsonRepresentationOfEmptyDittoHeadersIsExpected6 msPassed
putValidHeaderWorksAsExpected1 msPassed
removeValueWorksAsExpected0 msPassed
setNullCorrelationIdRemovesCorrelationId0 msPassed
setNullSchemaVersionRemovesSchemaVersion0 msPassed
tryToCreateInstanceWithJsonObjectContainingInvalidHeader1 msPassed
tryToCreateInstanceWithMapContainingInvalidHeader3 msPassed
tryToSetAuthSubjectsAsGenericKeyValuePairWithInvalidValue1 msPassed
tryToSetEmptyCorrelationId0 msPassed
tryToSetNullAuthSubjects0 msPassed
tryToSetNullAuthSubjectsMulti0 msPassed
tryToSetNullAuthSubjectsMulti20 msPassed
tryToSetNullReadSubjects0 msPassed