Skip to content

Test Result : SudoAddConnectionLogEntryTest

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

All Tests

Test nameDurationStatus
assertImmutability0.1 secPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException8 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException69 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException4 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException7 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException3 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException3 msPassed
fromJsonWithNullJsonObjectThrowsException1 msPassed
fromJsonWithValidJsonObjectReturnsExpected18 msPassed
getConnectionIdReturnsExpected0 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException2 msPassed
getInstanceWithNullLogEntryThrowsException1 msPassed
getLogEntryReturnsExpected1 msPassed
testHashCodeAndEquals0.27 secPassed
toJsonReturnsExpected16 msPassed