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