use of pcgen.cdom.content.ChangeProf in project pcgen by PCGen.
the class GlobalChangeProfTest method containsExpected.
@Override
protected boolean containsExpected() {
ChangeProf changeProf = changeProfFacet.getSet(id).iterator().next();
boolean sourceMatch = changeProf.getSource().equals(context.getReferenceContext().getCDOMReference(WeaponProf.class, "Axe"));
boolean targetMatch = changeProf.getResult().equals(context.getReferenceContext().getCDOMTypeReference(WeaponProf.class, "Martial"));
return sourceMatch && targetMatch;
}
Aggregations