Skip to content

Test Result : SudoAddConnectionLogEntryTest

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

All Tests

Test nameDurationStatus
assertImmutability62 msPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException5 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException37 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException2 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException5 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException2 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException2 msPassed
fromJsonWithNullJsonObjectThrowsException1 msPassed
fromJsonWithValidJsonObjectReturnsExpected38 msPassed
getConnectionIdReturnsExpected0 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException0 msPassed
getInstanceWithNullLogEntryThrowsException1 msPassed
getLogEntryReturnsExpected0 msPassed
testHashCodeAndEquals0.13 secPassed
toJsonReturnsExpected10 msPassed