Skip to content

Test Result : DefaultDittoHeadersBuilderTest

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

All Tests

Test nameDurationStatus
buildReturnsExpected1 msPassed
buildWithEmptyCorrelationIdFromMapThrowsDittoHeaderInvalidException0 msPassed
buildWithEmptyCorrelationIdThrowsIllegalArgumentException0 msPassed
constructBuilderFromHeadersWorksExpected1 msPassed
createBuilderFromMapContainingInvalidMetadataKey2 msPassed
createBuilderFromMapContainingInvalidMetadataValue0 msPassed
createBuilderFromMapContainingValidMetadata0 msPassed
emptyReturnsEmptyDittoHeaders5 msPassed
ensureAllowPolicyLockoutIsFalseWhenNotSet0 msPassed
ensureAllowPolicyLockoutIsFalseWhenSet0 msPassed
ensureResponseRequiredIsFalseWhenSet1 msPassed
ensureResponseRequiredStaysFalseEvenWhenAcksAreRequested2 msPassed
jsonRepresentationOfDittoHeadersWithChannelOnlyIsExpected0 msPassed
jsonRepresentationOfDittoHeadersWithCorrelationIdOnlyIsExpected2 msPassed
jsonRepresentationOfDittoHeadersWithReadSubjectsOnlyIsExpected1 msPassed
jsonRepresentationOfDittoHeadersWithResponseRequiredOnlyIsExpected0 msPassed
jsonRepresentationOfDittoHeadersWithSchemaVersionOnlyIsExpected0 msPassed
jsonRepresentationOfEmptyDittoHeadersIsExpected4 msPassed
putHeadersContainingInvalidMetadataKey0 msPassed
putHeadersContainingValidMetadata0 msPassed
putValidHeaderWorksAsExpected1 msPassed
putValidMetadata1 msPassed
putValidMetadataAsCharSequence1 msPassed
removePreconditionHeaders5 msPassed
removeValueWorksAsExpected0 msPassed
removesDuplicatedAuthSubjects1 msPassed
setNullCorrelationIdRemovesCorrelationId0 msPassed
setNullSchemaVersionRemovesSchemaVersion0 msPassed
tryToCreateInstanceWithJsonObjectContainingInvalidHeader1 msPassed
tryToCreateInstanceWithMapContainingInvalidHeader1 msPassed
tryToPutMapWithInvalidMessageHeader0 msPassed
tryToSetAuthSubjectsAsGenericKeyValuePairWithInvalidValue1 msPassed
tryToSetEmptyCorrelationId1 msPassed
tryToSetNullAuthSubjects0 msPassed
tryToSetNullAuthSubjectsMulti0 msPassed
tryToSetNullAuthSubjectsMulti20 msPassed
tryToSetNullReadSubjects0 msPassed