Test Result : SudoAddConnectionLogEntryTest
0 failures
(±0)
16 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
assertImmutability | 62 ms | Passed |
fromJsonWithCorruptedConnectionIdValueTypeThrowsException | 5 ms | Passed |
fromJsonWithCorruptedLogEntryValueThrowsException | 37 ms | Passed |
fromJsonWithInvalidConnectionIdValueTypeThrowsException | 2 ms | Passed |
fromJsonWithInvalidLogEntryValueTypeThrowsException | 5 ms | Passed |
fromJsonWithMissingConnectionIdJsonFieldThrowsException | 2 ms | Passed |
fromJsonWithMissingLogEntryJsonFieldThrowsException | 2 ms | Passed |
fromJsonWithNullJsonObjectThrowsException | 1 ms | Passed |
fromJsonWithValidJsonObjectReturnsExpected | 38 ms | Passed |
getConnectionIdReturnsExpected | 0 ms | Passed |
getInstanceReturnsNotNull | 1 ms | Passed |
getInstanceWithNullConnectionIdThrowsException | 0 ms | Passed |
getInstanceWithNullLogEntryThrowsException | 1 ms | Passed |
getLogEntryReturnsExpected | 0 ms | Passed |
testHashCodeAndEquals | 0.13 sec | Passed |
toJsonReturnsExpected | 10 ms | Passed |