Skip to content

Test Result : MappingContextTest

0 failures (±0)
73 tests (±0)
Took 0.21 sec.

All Tests

Test nameDurationStatus
getAdaptableReturnsExpectedAdaptable1 msPassed
getAttributePointerOrThrowReturnsPointerIfMessagePathHasAppropriatePrefix2 msPassed
getAttributePointerOrThrowThrowsExceptionIfMessagePathHasAnInappropriatePrefix2 msPassed
getAttributeValueOrThrowReturnsExpectedValueIfContainedInPayload1 msPassed
getAttributeValueOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getAttributeValueReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getAttributeValueReturnsExpectedValueIfContainedInPayload1 msPassed
getAttributesOrThrowThrowsExceptionIfPayloadContainsNoValue2 msPassed
getAttributesReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getAttributesReturnsExpectedIfContainedInPayload3 msPassed
getAttributesThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getDittoHeadersReturnsExpectedDittoHeaders1 msPassed
getFeatureDefinitionOrThrowThrowsExceptionIfPayloadContainsNoValue51 msPassed
getFeatureDefinitionReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getFeatureDefinitionReturnsExpectedFeatureDefinitionIfContainedInPayload2 msPassed
getFeatureDefinitionThrowsExceptionIfPayloadContainsValueThatIsNoJsonString1 msPassed
getFeatureDesiredPropertyPointerOrThrowReturnsPointerIfMessagePathHasAppropriatePrefix1 msPassed
getFeatureDesiredPropertyPointerOrThrowThrowsExceptionIfMessagePathHasAnInappropriatePrefix2 msPassed
getFeatureDesiredPropertyPointerOrThrowThrowsExceptionIfMessagePathHasNoPropertiesSegment4 msPassed
getFeatureDesiredPropertyPointerOrThrowThrowsExceptionIfMessagePathHasUnexpectedLevelCount1 msPassed
getFeatureIdOrThrowReturnsFeatureIdIfContainedInPayload1 msPassed
getFeatureIdOrThrowReturnsFeatureIdIfContainedInPayload21 msPassed
getFeatureIdOrThrowThrowsExceptionIfPayloadHasPathWithTooLessSegments2 msPassed
getFeatureIdOrThrowThrowsExceptionIfPayloadHasPathWithUnexpectedPrefix1 msPassed
getFeatureOrThrowThrowsExceptionIfPayloadContainsNoFeatureJsonObject1 msPassed
getFeatureOrThrowThrowsExceptionIfPayloadHasNoValue2 msPassed
getFeaturePropertiesOrThrowThrowsExceptionIfPayloadContainsNoValue15 msPassed
getFeaturePropertiesReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getFeaturePropertiesReturnsExpectedFeaturePropertiesIfContainedInPayload2 msPassed
getFeaturePropertiesThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject2 msPassed
getFeaturePropertyPointerOrThrowReturnsEmptyJsonPointerIfMessagePathHasNoPropertySubPointer2 msPassed
getFeaturePropertyPointerOrThrowReturnsPointerIfMessagePathHasAppropriatePrefix2 msPassed
getFeaturePropertyPointerOrThrowThrowsExceptionIfMessagePathHasAnInappropriatePrefix2 msPassed
getFeaturePropertyPointerOrThrowThrowsExceptionIfMessagePathHasNoPropertiesSegment2 msPassed
getFeaturePropertyValueOrThrowThrowsExceptionIfPayloadHasNoValue1 msPassed
getFeaturePropertyValueReturnsEmptyOptionalIfPayloadHasNoValue1 msPassed
getFeaturePropertyValueReturnsExpectedIfContainedInPayload1 msPassed
getFeatureReturnsEmptyOptionalIfPayloadHasNoValue1 msPassed
getFeatureReturnsExpectedFeatureIfContainedInPayload2 msPassed
getFeatureThrowsExceptionIfMessagePathProvidesNoFeatureId2 msPassed
getFeaturesOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getFeaturesReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getFeaturesReturnsExpectedIfContainedInPayload2 msPassed
getFeaturesThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject2 msPassed
getHttpStatusOrThrowReturnsExpectedHttpStatusIfContainedInPayload1 msPassed
getHttpStatusOrThrowThrowsExceptionIfContainsNoHttpStatus2 msPassed
getInstanceWithAdaptableReturnsNotNull0 msPassed
getInstanceWithNullAdaptableThrowsException1 msPassed
getNamespaceReturnsEmptyOptionalIfPlaceholder1 msPassed
getNamespaceReturnsExpectedNamespaceIfNotPlaceholder2 msPassed
getPayloadValueAsJsonObjectOrThrowReturnsExpectedJsonObjectIfContainedInPayload1 msPassed
getPayloadValueAsJsonObjectOrThrowThrowsExceptionIfPayloadValueIsNoJsonObject2 msPassed
getPayloadValueAsJsonObjectOrThrowThrowsExceptionPayloadContainsNoValue2 msPassed
getPolicyEntryReturnsEmptyOptionalIfPayloadContainsNoValue2 msPassed
getPolicyEntryReturnsExpectedPolicyEntryIfContainedInPayload2 msPassed
getPolicyEntryThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getPolicyIdFromTopicPathReturnsExpectedPolicyId2 msPassed
getPolicyIdOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getPolicyIdReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getPolicyIdReturnsPolicyIfContainedInPayload3 msPassed
getPolicyIdThrowsExceptionIfPayloadContainsNoJsonStringValue2 msPassed
getPolicyReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getPolicyReturnsExpectedPolicyIfContainedInPayload3 msPassed
getPolicyThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getThingDefinitionOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getThingDefinitionReturnsEmptyOptionalIfPayloadContainsNoValue2 msPassed
getThingDefinitionReturnsExpectedThingDefinitionIfContainedInPayload1 msPassed
getThingDefinitionThrowsExceptionIfPayloadContainsValueThatIsNoJsonString1 msPassed
getThingIdReturnsExpectedThingId3 msPassed
getThingOrThrowReturnsThingIfContainedInPayload3 msPassed
getThingOrThrowThrowsExceptionPayloadContainsNoValue2 msPassed
getThingOrThrowsThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject2 msPassed
testHashCodeAndEquals38 msPassed