Skip to content

Test Result : MappingContextTest

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

All Tests

Test nameDurationStatus
getAdaptableReturnsExpectedAdaptable1 msPassed
getAttributePointerOrThrowReturnsPointerIfMessagePathHasAppropriatePrefix9 msPassed
getAttributePointerOrThrowThrowsExceptionIfMessagePathHasAnInappropriatePrefix1 msPassed
getAttributeValueOrThrowReturnsExpectedValueIfContainedInPayload0 msPassed
getAttributeValueOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getAttributeValueReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getAttributeValueReturnsExpectedValueIfContainedInPayload0 msPassed
getAttributesOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getAttributesReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getAttributesReturnsExpectedIfContainedInPayload2 msPassed
getAttributesThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getDittoHeadersReturnsExpectedDittoHeaders0 msPassed
getFeatureDefinitionOrThrowThrowsExceptionIfPayloadContainsNoValue99 msPassed
getFeatureDefinitionReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getFeatureDefinitionReturnsExpectedFeatureDefinitionIfContainedInPayload1 msPassed
getFeatureDefinitionThrowsExceptionIfPayloadContainsValueThatIsNoJsonString1 msPassed
getFeatureDesiredPropertyPointerOrThrowReturnsPointerIfMessagePathHasAppropriatePrefix1 msPassed
getFeatureDesiredPropertyPointerOrThrowThrowsExceptionIfMessagePathHasAnInappropriatePrefix2 msPassed
getFeatureDesiredPropertyPointerOrThrowThrowsExceptionIfMessagePathHasNoPropertiesSegment2 msPassed
getFeatureDesiredPropertyPointerOrThrowThrowsExceptionIfMessagePathHasUnexpectedLevelCount1 msPassed
getFeatureIdOrThrowReturnsFeatureIdIfContainedInPayload0 msPassed
getFeatureIdOrThrowReturnsFeatureIdIfContainedInPayload21 msPassed
getFeatureIdOrThrowThrowsExceptionIfPayloadHasPathWithTooLessSegments1 msPassed
getFeatureIdOrThrowThrowsExceptionIfPayloadHasPathWithUnexpectedPrefix1 msPassed
getFeatureOrThrowThrowsExceptionIfPayloadContainsNoFeatureJsonObject1 msPassed
getFeatureOrThrowThrowsExceptionIfPayloadHasNoValue1 msPassed
getFeaturePropertiesOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getFeaturePropertiesReturnsEmptyOptionalIfPayloadContainsNoValue0 msPassed
getFeaturePropertiesReturnsExpectedFeaturePropertiesIfContainedInPayload1 msPassed
getFeaturePropertiesThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getFeaturePropertyPointerOrThrowReturnsEmptyJsonPointerIfMessagePathHasNoPropertySubPointer1 msPassed
getFeaturePropertyPointerOrThrowReturnsPointerIfMessagePathHasAppropriatePrefix1 msPassed
getFeaturePropertyPointerOrThrowThrowsExceptionIfMessagePathHasAnInappropriatePrefix2 msPassed
getFeaturePropertyPointerOrThrowThrowsExceptionIfMessagePathHasNoPropertiesSegment1 msPassed
getFeaturePropertyValueOrThrowThrowsExceptionIfPayloadHasNoValue1 msPassed
getFeaturePropertyValueReturnsEmptyOptionalIfPayloadHasNoValue0 msPassed
getFeaturePropertyValueReturnsExpectedIfContainedInPayload0 msPassed
getFeatureReturnsEmptyOptionalIfPayloadHasNoValue1 msPassed
getFeatureReturnsExpectedFeatureIfContainedInPayload1 msPassed
getFeatureThrowsExceptionIfMessagePathProvidesNoFeatureId2 msPassed
getFeaturesOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getFeaturesReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getFeaturesReturnsExpectedIfContainedInPayload1 msPassed
getFeaturesThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getHttpStatusOrThrowReturnsExpectedHttpStatusIfContainedInPayload1 msPassed
getHttpStatusOrThrowThrowsExceptionIfContainsNoHttpStatus1 msPassed
getInstanceWithAdaptableReturnsNotNull1 msPassed
getInstanceWithNullAdaptableThrowsException1 msPassed
getNamespaceReturnsEmptyOptionalIfPlaceholder1 msPassed
getNamespaceReturnsExpectedNamespaceIfNotPlaceholder1 msPassed
getPayloadValueAsJsonObjectOrThrowReturnsExpectedJsonObjectIfContainedInPayload0 msPassed
getPayloadValueAsJsonObjectOrThrowThrowsExceptionIfPayloadValueIsNoJsonObject0 msPassed
getPayloadValueAsJsonObjectOrThrowThrowsExceptionPayloadContainsNoValue1 msPassed
getPolicyEntryReturnsEmptyOptionalIfPayloadContainsNoValue0 msPassed
getPolicyEntryReturnsExpectedPolicyEntryIfContainedInPayload2 msPassed
getPolicyEntryThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getPolicyIdFromTopicPathReturnsExpectedPolicyId1 msPassed
getPolicyIdOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getPolicyIdReturnsEmptyOptionalIfPayloadContainsNoValue0 msPassed
getPolicyIdReturnsPolicyIfContainedInPayload1 msPassed
getPolicyIdThrowsExceptionIfPayloadContainsNoJsonStringValue1 msPassed
getPolicyReturnsEmptyOptionalIfPayloadContainsNoValue0 msPassed
getPolicyReturnsExpectedPolicyIfContainedInPayload1 msPassed
getPolicyThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
getThingDefinitionOrThrowThrowsExceptionIfPayloadContainsNoValue1 msPassed
getThingDefinitionReturnsEmptyOptionalIfPayloadContainsNoValue1 msPassed
getThingDefinitionReturnsExpectedThingDefinitionIfContainedInPayload1 msPassed
getThingDefinitionThrowsExceptionIfPayloadContainsValueThatIsNoJsonString1 msPassed
getThingIdReturnsExpectedThingId1 msPassed
getThingOrThrowReturnsThingIfContainedInPayload1 msPassed
getThingOrThrowThrowsExceptionPayloadContainsNoValue1 msPassed
getThingOrThrowsThrowsExceptionIfPayloadContainsValueThatIsNoJsonObject1 msPassed
testHashCodeAndEquals18 msPassed