Skip to content

Test Result : SudoAddConnectionLogEntryTest

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

All Tests

Test nameDurationStatus
assertImmutability73 msPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException4 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException20 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException2 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException5 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException2 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException2 msPassed
fromJsonWithNullJsonObjectThrowsException1 msPassed
fromJsonWithValidJsonObjectReturnsExpected9 msPassed
getConnectionIdReturnsExpected1 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException1 msPassed
getInstanceWithNullLogEntryThrowsException1 msPassed
getLogEntryReturnsExpected0 msPassed
testHashCodeAndEquals0.14 secPassed
toJsonReturnsExpected34 msPassed