CompensateScope extends AbstractBasicActivity<TCompensateScope> implements
		ICompensateScope { public String getTarget() { return getNativeActivity().getTarget(); } CompensateScope(TCompensateScope wrappedCompensateScope, IContainer parent); void setTarget(String scopeName); void setTarget(IScope scope); String getTarget();  }
@Test public void testTargetFromFile() throws Exception { InputStream resourceStream = getClass().getResourceAsStream("/activities/_2_0/activity-compensateScope.bpel"); IProcess process = BpelFactory.loadProcess(resourceStream); CompensateScope compensateScope = (CompensateScope)process.getMainActivity(); assertEquals("ScopeName", compensateScope.getTarget()); }