@TransactionConfiguration(transactionManager = "transactionManager")
public class MyTestCase extends StrutsSpringTestCase {
@Override
protected String getContextLocations() {
return "classpath*:applicationContext-test.xml";
}
}
@Test
public void testMyActionMapping() {
final ActionMapping mapping = this.getActionMapping("/uriMap");
Assert.assertNotNull(mapping);
Assert.assertEquals("/uriMap", mapping.getNamespace());
Assert.assertEquals("uriMap", mapping.getName());
final ActionProxy proxy = this.getActionProxy("/uriMap");
final MyAction action = MyAction.class.cast(proxy);
}