*/
public void doTestElementEnd(String invokeMethod) throws Exception {
Volantis volantis = new TestableVolantis();
ServletContextStub contextStub = new ServletContextStub();
AppManager appManager = new AppManager(volantis, contextStub);
appManager.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
public void setUp(ConfigValue config) throws Exception {
super.setUp(config);
ArgumentConfiguration ac = new ArgumentConfiguration();
ac.setName("argName");
ac.setValue("argValue");
ArrayList argsList = new ArrayList(1);
argsList.add(ac);
MarkupPluginConfiguration mpc =
new MarkupPluginConfiguration();
mpc.setName("myPlugin");
mpc.setClassName("com.volantis.mcs.integration.iapi." +
"InvokeElementTestCase$InvokeTestMarkupPlugin");
mpc.setScope("application");
ArrayList pluginList = new ArrayList(1);
pluginList.add(mpc);
config.markupPlugins = pluginList;
}
});
AppExecutor executor = new InvokeAppExecutor(volantis, invokeMethod);
appManager.useAppWith(executor);
}