Test Result : SudoAddConnectionLogEntryTest
0 failures
(±0)
16 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
assertImmutability | 0.1 sec | Passed |
fromJsonWithCorruptedConnectionIdValueTypeThrowsException | 8 ms | Passed |
fromJsonWithCorruptedLogEntryValueThrowsException | 69 ms | Passed |
fromJsonWithInvalidConnectionIdValueTypeThrowsException | 4 ms | Passed |
fromJsonWithInvalidLogEntryValueTypeThrowsException | 7 ms | Passed |
fromJsonWithMissingConnectionIdJsonFieldThrowsException | 3 ms | Passed |
fromJsonWithMissingLogEntryJsonFieldThrowsException | 3 ms | Passed |
fromJsonWithNullJsonObjectThrowsException | 1 ms | Passed |
fromJsonWithValidJsonObjectReturnsExpected | 18 ms | Passed |
getConnectionIdReturnsExpected | 0 ms | Passed |
getInstanceReturnsNotNull | 1 ms | Passed |
getInstanceWithNullConnectionIdThrowsException | 2 ms | Passed |
getInstanceWithNullLogEntryThrowsException | 1 ms | Passed |
getLogEntryReturnsExpected | 1 ms | Passed |
testHashCodeAndEquals | 0.27 sec | Passed |
toJsonReturnsExpected | 16 ms | Passed |