Thanks for the code. Could you please include the imports, because I'm not
sure what is related to your mock class and what is part of struts 2 (like
expect(), is that part of struts 2 or is it internal to your mock class?).
Thanks,
Session
> This uses easyMock @Test public void
> should_log_
This uses easyMock
@Test
public void should_log_before_and_after_action_execution() throws
Exception {
Logger mockLogger = createMock(Logger.class);
String actionName = "mockAction";
String actionResult = "Success";
ActionInvocation mockInvocation =
createMock(A
2 matches
Mail list logo