Class AclEntryAfterInvocationValueObjectProviderTest
java.lang.Object
ubic.gemma.core.security.acl.afterinvocation.AclEntryAfterInvocationValueObjectProviderTest
Fast unit tests for
AclEntryAfterInvocationValueObjectProvider: single value-object
security check that returns null (instead of throwing) when access is denied AND populates
security-status fields on the VO when granted.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMinimal SecureValueObject with mutable security flags so we can assert population. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AclEntryAfterInvocationValueObjectProviderTest
public AclEntryAfterInvocationValueObjectProviderTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
tearDown
@AfterEach public void tearDown() -
grantedVo_returnsTheVo_andPopulatesSecurityStatus
@Test public void grantedVo_returnsTheVo_andPopulatesSecurityStatus() -
voWithoutAcl_throwsAccessDeniedException
@Test public void voWithoutAcl_throwsAccessDeniedException() -
nonVoSecurable_isPassedThroughIfPermissionGranted
@Test public void nonVoSecurable_isPassedThroughIfPermissionGranted() -
unsupportedConfigAttribute_returnsInputUnchanged
@Test public void unsupportedConfigAttribute_returnsInputUnchanged()
-