Skip to content

Test Result : GenericMqttPublishTest$GenericMqtt5PublishTest

0 failures (±0)
31 tests (±0)
Took 0.73 sec.

All Tests

Test nameDurationStatus
acknowledgeIsDelegatedToMqtt5Publish15 msPassed
acknowledgeWhenAlreadyAcknowledgedThrowsExpectedException2 msPassed
acknowledgeWithDisabledManualAcknowledgementThrowsExpectedException6 msPassed
getAsMqtt3PublishReturnsPublishProvidedAtObjectConstruction1 msPassed
getAsMqtt5PublishReturnsExpectedMqtt5Publish1 msPassed
getContentTypeReturnsEmptyOptionalIfAbsent1 msPassed
getContentTypeReturnsOptionalContainingApplicationOctetStreamIfIndicatedByPayload0 msPassed
getContentTypeReturnsOptionalContainingExpectedValueIfPresent0 msPassed
getContentTypeReturnsOptionalContainingTextPlainIfIndicatedByPayload0.66 secPassed
getCorrelationDataReturnsEmptyOptionalIfAbsent1 msPassed
getCorrelationDataReturnsOptionalContainingExpectedValueIfPresent1 msPassed
getMessageExpiryIntervalReturnsEmptyOptionalLongIfAbsent0 msPassed
getMessageExpiryIntervalReturnsEmptyOptionalLongIfMessageExpiryIntervalIsInvalid3 msPassed
getMessageExpiryIntervalReturnsEmptyOptionalLongIfSetNoMessageExpiryInterval0 msPassed
getMessageExpiryIntervalReturnsOptionalLongContainingExpectedValueIfPresent0 msPassed
getPayloadAsHumanReadableReturnsExpected0 msPassed
getPayloadReturnsEmptyOptionalIfAbsent1 msPassed
getPayloadReturnsOptionalContainingExpectedValueIfPresent1 msPassed
getQosReturnsExpected1 msPassed
getResponseTopicReturnsEmptyOptionalIfAbsent1 msPassed
getResponseTopicReturnsOptionalContainingExpectedValueIfPresent0 msPassed
getTopicReturnsExpected0 msPassed
isMqttVersionReturnsExpected0 msPassed
isRetainReturnsFalseIfAbsent0 msPassed
isRetainReturnsFalseIfSet1 msPassed
isRetainReturnsTrueIfSet0 msPassed
ofMqtt5PublishWithNullThrowsException1 msPassed
testHashCodeAndEquals27 msPassed
toStringReturnsExpected5 msPassed
userPropertiesReturnsEmptyStreamIfAbsent1 msPassed
userPropertiesReturnsExpectedStreamIfPresent5 msPassed