Skip to content

Test Result : GenericMqttPublishTest$GenericMqtt5PublishTest

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

All Tests

Test nameDurationStatus
acknowledgeIsDelegatedToMqtt5Publish10 msPassed
acknowledgeWhenAlreadyAcknowledgedThrowsExpectedException1 msPassed
acknowledgeWithDisabledManualAcknowledgementThrowsExpectedException4 msPassed
getAsMqtt3PublishReturnsPublishProvidedAtObjectConstruction0 msPassed
getAsMqtt5PublishReturnsExpectedMqtt5Publish1 msPassed
getContentTypeReturnsEmptyOptionalIfAbsent1 msPassed
getContentTypeReturnsOptionalContainingApplicationOctetStreamIfIndicatedByPayload0 msPassed
getContentTypeReturnsOptionalContainingExpectedValueIfPresent0 msPassed
getContentTypeReturnsOptionalContainingTextPlainIfIndicatedByPayload0.43 secPassed
getCorrelationDataReturnsEmptyOptionalIfAbsent0 msPassed
getCorrelationDataReturnsOptionalContainingExpectedValueIfPresent0 msPassed
getMessageExpiryIntervalReturnsEmptyOptionalLongIfAbsent1 msPassed
getMessageExpiryIntervalReturnsEmptyOptionalLongIfMessageExpiryIntervalIsInvalid3 msPassed
getMessageExpiryIntervalReturnsEmptyOptionalLongIfSetNoMessageExpiryInterval0 msPassed
getMessageExpiryIntervalReturnsOptionalLongContainingExpectedValueIfPresent1 msPassed
getPayloadAsHumanReadableReturnsExpected0 msPassed
getPayloadReturnsEmptyOptionalIfAbsent0 msPassed
getPayloadReturnsOptionalContainingExpectedValueIfPresent0 msPassed
getQosReturnsExpected0 msPassed
getResponseTopicReturnsEmptyOptionalIfAbsent0 msPassed
getResponseTopicReturnsOptionalContainingExpectedValueIfPresent0 msPassed
getTopicReturnsExpected0 msPassed
isMqttVersionReturnsExpected0 msPassed
isRetainReturnsFalseIfAbsent0 msPassed
isRetainReturnsFalseIfSet0 msPassed
isRetainReturnsTrueIfSet0 msPassed
ofMqtt5PublishWithNullThrowsException1 msPassed
testHashCodeAndEquals15 msPassed
toStringReturnsExpected4 msPassed
userPropertiesReturnsEmptyStreamIfAbsent1 msPassed
userPropertiesReturnsExpectedStreamIfPresent4 msPassed