UserListBean extends BaseActionBean { @DefaultHandler public final Resolution execute() { users = userManager.getUsers(); return new ForwardResolution("/userList.jsp"); }  List<User> getUsers(); @DefaultHandler final Resolution execute();  }
@Test public void testExecute() throws Exception { servletContext = new StripesTestFixture().getServletContext(); MockRoundtrip trip = new MockRoundtrip(servletContext, UserListBean.class); trip.execute(); UserListBean bean = trip.getActionBean(UserListBean.class); assertTrue(bean.getUsers().size() > 0); }