Ejemplo n.º 1
0
 @Test
 public void testOwnerInvalid() {
   ownerAce.setConsumerPermission(Permission.YES);
   AceValidator validator = new AceValidator(masterAce, mediatorAce, ownerAce);
   assertFalse("modified owner is invalid", validator.isOwnerValid());
 }
Ejemplo n.º 2
0
 @Test
 public void testOwnerValid() {
   AceValidator validator = new AceValidator(masterAce, mediatorAce, ownerAce);
   assertTrue("initial owner is valid", validator.isOwnerValid());
 }