use of pcgen.base.formula.base.ManagerFactory in project pcgen by PCGen.
the class SetNumberModifierTest method testInvalidConstruction.
@Test
public void testInvalidConstruction() {
try {
SetModifierFactory m = new SetModifierFactory();
m.getModifier(100, null, new ManagerFactory() {
}, null, null, null);
fail("Expected SetModifier with null set value to fail");
} catch (IllegalArgumentException | NullPointerException e) {
//Yep!
}
}
Aggregations