Skip to content

Test Result : ImmutableAuthorizationContextTest

0 failures (±0)
20 tests (±0)
Took 2.9 sec.

All Tests

Test nameDurationStatus
addHead1 msPassed
addTail0 msPassed
assertImmutability1 secPassed
fromJsonReturnsExpected2 msPassed
getAuthorizationSubjectIdsReturnsExpected29 msPassed
getAuthorizationSubjectsReturnsExpected0 msPassed
getFirstAuthorizationSubjectReturnsEmptyOptionalIfContextIsEmpty1 msPassed
getFirstAuthorizationSubjectReturnsExpectedIfContextIsNotEmpty3 msPassed
getSizeReturnsExpected6 msPassed
isAuthorizedIfSubjectIsGrantedAndRevokedIsDisjoint1 msPassed
isAuthorizedIfSubjectIsGrantedAndRevokedIsEmpty14 msPassed
isEmptyReturnsFalseForNonEmptyContext1 msPassed
isEmptyReturnsTrueForEmptyContext0 msPassed
isNotAuthorizedForEmptyGranted0 msPassed
isNotAuthorizedForEmptyGrantedAndRevoked0 msPassed
isNotAuthorizedIfSubjectIsGrantedAndRevoked1 msPassed
testHashCodeAndEquals1.5 secPassed
toJsonReturnsExpected12 msPassed
tryToCallIsAuthorizedWithNullGranted1 msPassed
tryToCallIsAuthorizedWithNullRevoked0.22 secPassed