Test Result : ImmutableAuthorizationContextTest
0 failures
(±0)
20 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
addHead | 0 ms | Passed |
addTail | 0 ms | Passed |
assertImmutability | 5 ms | Passed |
fromJsonReturnsExpected | 0 ms | Passed |
getAuthorizationSubjectIdsReturnsExpected | 1 ms | Passed |
getAuthorizationSubjectsReturnsExpected | 0 ms | Passed |
getFirstAuthorizationSubjectReturnsEmptyOptionalIfContextIsEmpty | 1 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 | 8 ms | Passed |
toJsonReturnsExpected | 0 ms | Passed |
tryToCallIsAuthorizedWithNullGranted | 0 ms | Passed |
tryToCallIsAuthorizedWithNullRevoked | 0 ms | Passed |