assertEquals("User joe_customer is not allowed", false,
securityEntry.allowsUser("joe_customer", "do_any_thing"));
assertEquals("User joe_customer is not allowed", false,
securityEntry.allowsUser("joe_customer", "do_any_thing", "joe_owner"));
assertEquals("User joe_owner is allowed", true,
securityEntry.allowsUser("joe_owner", "do_any_thing", "joe_owner"));
}
}
assertTrue("Found owner_only security entry", entryFound);
}
}