Assign extends AbstractBasicActivity<TAssign> implements IAssign { public boolean getValidate() { return TBooleanHelper.convert(assign.getValidate()); } Assign(TAssign a, IContainer parent); void setValidate(boolean value); boolean getValidate(); Copy addCopy(); @Override List<Copy> getCopies(); @Override void visit(IVisitor v);  }
@Test public void testValidateFromFile() throws Exception { InputStream resourceStream = getClass().getResourceAsStream("/activities/_2_0/activity-assign.bpel"); IProcess process = BpelFactory.loadProcess(resourceStream); Assign a = (Assign)process.getMainActivity(); assertTrue(a.getValidate()); }