use of org.simbasecurity.core.service.manager.dto.RuleDTO in project simba-os by cegeka.
the class RuleDTOAssemblerTest method testAssembleMultipleRules.
@Test
public void testAssembleMultipleRules() {
Rule resourceRule = createResourceRule();
Rule urlRule = createUrlRule();
Collection<RuleDTO> ruleDataList = RuleDTOAssembler.assemble(Arrays.asList(resourceRule, urlRule));
assertNotNull(ruleDataList);
assertEquals(2, ruleDataList.size());
}
Aggregations