use of org.apache.syncope.core.persistence.api.entity.Application in project syncope by apache.
the class ApplicationTest method find.
@Test
public void find() {
Application mightyApp = applicationDAO.find("mightyApp");
assertNotNull(mightyApp);
assertEquals(2, mightyApp.getPrivileges().size());
Privilege getMighty = applicationDAO.findPrivilege("getMighty");
assertNotNull(getMighty);
assertEquals(getMighty, mightyApp.getPrivilege("getMighty").get());
}
Aggregations