Skip to content

Test Result : SudoAddConnectionLogEntryTest

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

All Tests

Test nameDurationStatus
assertImmutability94 msPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException6 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException57 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException3 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException5 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException2 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException2 msPassed
fromJsonWithNullJsonObjectThrowsException1 msPassed
fromJsonWithValidJsonObjectReturnsExpected36 msPassed
getConnectionIdReturnsExpected0 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException1 msPassed
getInstanceWithNullLogEntryThrowsException1 msPassed
getLogEntryReturnsExpected0 msPassed
testHashCodeAndEquals0.12 secPassed
toJsonReturnsExpected11 msPassed