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