Skip to content

Test Result : SudoAddConnectionLogEntryTest

0 failures (±0)
16 tests (±0)
Took 0.11 sec.

All Tests

Test nameDurationStatus
assertImmutability7 msPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException2 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException8 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException1 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException5 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException2 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException1 msPassed
fromJsonWithNullJsonObjectThrowsException0 msPassed
fromJsonWithValidJsonObjectReturnsExpected8 msPassed
getConnectionIdReturnsExpected1 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException1 msPassed
getInstanceWithNullLogEntryThrowsException1 msPassed
getLogEntryReturnsExpected1 msPassed
testHashCodeAndEquals66 msPassed
toJsonReturnsExpected10 msPassed