Test Result : DefaultDittoHeadersBuilderTest

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

All Tests

Test nameDurationStatus
buildReturnsExpected1 msPassed
constructBuilderFromHeadersWorksExpected0 msPassed
emptyReturnsEmptyDittoHeaders5 msPassed
jsonRepresentationOfDittoHeadersWithChannelOnlyIsExpected0 msPassed
jsonRepresentationOfDittoHeadersWithCorrelationIdOnlyIsExpected5 msPassed
jsonRepresentationOfDittoHeadersWithReadSubjectsOnlyIsExpected2 msPassed
jsonRepresentationOfDittoHeadersWithResponseRequiredOnlyIsExpected0 msPassed
jsonRepresentationOfDittoHeadersWithSchemaVersionOnlyIsExpected1 msPassed
jsonRepresentationOfDittoHeadersWithSourceOnlyIsExpected0 msPassed
jsonRepresentationOfEmptyDittoHeadersIsExpected8 msPassed
putValidHeaderWorksAsExpected0 msPassed
removeValueWorksAsExpected1 msPassed
setNullCorrelationIdRemovesCorrelationId0 msPassed
setNullSchemaVersionRemovesSchemaVersion0 msPassed
tryToCreateInstanceWithJsonObjectContainingInvalidHeader1 msPassed
tryToCreateInstanceWithMapContainingInvalidHeader6 msPassed
tryToSetAuthSubjectsAsGenericKeyValuePairWithInvalidValue1 msPassed
tryToSetEmptyCorrelationId1 msPassed
tryToSetNullAuthSubjects0 msPassed
tryToSetNullAuthSubjectsMulti0 msPassed
tryToSetNullAuthSubjectsMulti20 msPassed
tryToSetNullReadSubjects0 msPassed