Skip to content

Test Result : SudoAddConnectionLogEntryTest

0 failures (±0)
16 tests (±0)
Took 99 ms.

All Tests

Test nameDurationStatus
assertImmutability7 msPassed
fromJsonWithCorruptedConnectionIdValueTypeThrowsException2 msPassed
fromJsonWithCorruptedLogEntryValueThrowsException0 msPassed
fromJsonWithInvalidConnectionIdValueTypeThrowsException1 msPassed
fromJsonWithInvalidLogEntryValueTypeThrowsException48 msPassed
fromJsonWithMissingConnectionIdJsonFieldThrowsException1 msPassed
fromJsonWithMissingLogEntryJsonFieldThrowsException2 msPassed
fromJsonWithNullJsonObjectThrowsException1 msPassed
fromJsonWithValidJsonObjectReturnsExpected8 msPassed
getConnectionIdReturnsExpected1 msPassed
getInstanceReturnsNotNull1 msPassed
getInstanceWithNullConnectionIdThrowsException1 msPassed
getInstanceWithNullLogEntryThrowsException0 msPassed
getLogEntryReturnsExpected1 msPassed
testHashCodeAndEquals17 msPassed
toJsonReturnsExpected9 msPassed