Process extends AbstractSingleContainer<TProcess> implements IProcess { @Override public boolean getExitOnStandardFault() { return process.getExitOnStandardFault().equals(TBoolean.YES); } Process(ProcessDocument newProcess); String getName(); String getTargetNamespace(); String getQueryLanguage(); @Override void setQueryLanguage(String queryLanguageUrn); boolean getSuppressJoinFailure(); @Override void setSuppressJoinFailure(boolean value); void setName(String value); @Override String getExpressionLanguage(); @Override void setExpressionLanguage(String expressionLanguageUrn); void setTargetNamespace(String value); List<? extends IPartnerLink> getPartnerLinks(); List<Import> getImports(); @Override void visit(IVisitor v); List<? extends IVariable> getVariables(); IVariable addVariable(); IPartnerLink addPartnerLink(); void save(OutputStream out, Class<?>... additionalClasses); IImport addImport(); List<IBpelObject> getElementsByXPath(String xpathToBpelElement); @Override List<OnAlarmEventHandler> getOnAlarms(); @Override List<OnMessageHandler> getOnMessages(); @Override IOnAlarmEventHandler addNewOnAlarm(); @Override OnMessageHandler addNewOnMessage(); @Override boolean getExitOnStandardFault(); @Override void setExitOnStandardFault(boolean value);  }
@Test public void testExitOnStandardFaultFromFile() throws Exception { InputStream resourceStream = getClass().getResourceAsStream("/activities/_2_0/activity-while.bpel"); IProcess process = BpelFactory.loadProcess(resourceStream); assertTrue(process.getExitOnStandardFault()); }