public void testResumeEventStringValidationHint() throws Exception {
StubSmartValidator validator = new StubSmartValidator();
MockRequestContext context = new MockRequestContext();
context.putRequestParameter("_eventId", "submit");
TestModel testModel = new TestModel();
StaticExpression validationHintsExpression = new StaticExpression("State1,AllStates");
context.getCurrentState().getAttributes().put("validationHints", validationHintsExpression);
StaticExpression modelExpression = new StaticExpression(testModel);
modelExpression.setExpressionString("testModel");
context.getCurrentState().getAttributes().put("model", modelExpression);
context.getFlowScope().put("testModel", testModel);
context.getMockExternalContext().setNativeContext(new MockServletContext());
context.getMockExternalContext().setNativeRequest(new MockHttpServletRequest());
context.getMockExternalContext().setNativeResponse(new MockHttpServletResponse());