Skip to content

Test Result : ImmutableAuthorizationContextTest

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

All Tests

Test nameDurationStatus
addHead0 msPassed
addTail0 msPassed
assertImmutability0.32 secPassed
fromJsonReturnsExpected1 msPassed
getAuthorizationSubjectIdsReturnsExpected12 msPassed
getAuthorizationSubjectsReturnsExpected0 msPassed
getFirstAuthorizationSubjectReturnsEmptyOptionalIfContextIsEmpty0 msPassed
getFirstAuthorizationSubjectReturnsExpectedIfContextIsNotEmpty1 msPassed
getSizeReturnsExpected3 msPassed
isAuthorizedIfSubjectIsGrantedAndRevokedIsDisjoint1 msPassed
isAuthorizedIfSubjectIsGrantedAndRevokedIsEmpty0 msPassed
isEmptyReturnsFalseForNonEmptyContext0 msPassed
isEmptyReturnsTrueForEmptyContext1 msPassed
isNotAuthorizedForEmptyGranted0 msPassed
isNotAuthorizedForEmptyGrantedAndRevoked0 msPassed
isNotAuthorizedIfSubjectIsGrantedAndRevoked0 msPassed
testHashCodeAndEquals0.53 secPassed
toJsonReturnsExpected4 msPassed
tryToCallIsAuthorizedWithNullGranted1 msPassed
tryToCallIsAuthorizedWithNullRevoked88 msPassed