try {
MockRoundtrip trip = new MockRoundtrip(StripesTestFixture.getServletContext(), getClass());
factory.add(String.class, MyStringTypeConverter.class);
trip.addParameter("shouldBeUpperCased", "test");
trip.addParameter("shouldNotBeUpperCased", "test");
trip.execute("validateTypeConverters");
ValidationAnnotationsTest actionBean = trip.getActionBean(getClass());
Assert.assertEquals(actionBean.shouldBeUpperCased, "TEST");
Assert.assertEquals(actionBean.shouldNotBeUpperCased, "test");
}
finally {