Skip to content

Test Result : SudoAddConnectionLogEntryTest

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

All Tests

Test nameDurationStatus
assertImmutability7 msPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException2 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException5 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException1 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException5 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException2 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException1 msPassed
fromJsonWithNullJsonObjectThrowsException1 msPassed
fromJsonWithValidJsonObjectReturnsExpected8 msPassed
getConnectionIdReturnsExpected1 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException1 msPassed
getInstanceWithNullLogEntryThrowsException0 msPassed
getLogEntryReturnsExpected1 msPassed
testHashCodeAndEquals75 msPassed
toJsonReturnsExpected9 msPassed