use of org.simbasecurity.core.domain.ConditionEntity in project simba-os by cegeka.
the class ConditionDTOAssemblerTest method testAssembleSingleCondition_Failure.
@Test(expected = IllegalArgumentException.class)
public void testAssembleSingleCondition_Failure() {
@SuppressWarnings("serial") Condition condition = new ConditionEntity() {
@Override
protected boolean conditionApplies(AuthorizationRequestContext context) {
return false;
}
};
ConditionDTOAssembler.assemble(condition);
}
Aggregations