Test Result : ImmutableAuthorizationContextTest
0 failures
(±0)
20 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
addHead | 0 ms | Passed |
addTail | 0 ms | Passed |
assertImmutability | 6 ms | Passed |
fromJsonReturnsExpected | 0 ms | Passed |
getAuthorizationSubjectIdsReturnsExpected | 0 ms | Passed |
getAuthorizationSubjectsReturnsExpected | 0 ms | Passed |
getFirstAuthorizationSubjectReturnsEmptyOptionalIfContextIsEmpty | 0 ms | Passed |
getFirstAuthorizationSubjectReturnsExpectedIfContextIsNotEmpty | 0 ms | Passed |
getSizeReturnsExpected | 0 ms | Passed |
isAuthorizedIfSubjectIsGrantedAndRevokedIsDisjoint | 0 ms | Passed |
isAuthorizedIfSubjectIsGrantedAndRevokedIsEmpty | 0 ms | Passed |
isEmptyReturnsFalseForNonEmptyContext | 0 ms | Passed |
isEmptyReturnsTrueForEmptyContext | 0 ms | Passed |
isNotAuthorizedForEmptyGranted | 0 ms | Passed |
isNotAuthorizedForEmptyGrantedAndRevoked | 0 ms | Passed |
isNotAuthorizedIfSubjectIsGrantedAndRevoked | 0 ms | Passed |
testHashCodeAndEquals | 7 ms | Passed |
toJsonReturnsExpected | 1 ms | Passed |
tryToCallIsAuthorizedWithNullGranted | 1 ms | Passed |
tryToCallIsAuthorizedWithNullRevoked | 1 ms | Passed |