assertThat(result, CoreMatchers.equalTo(ViewNames.NEW_ACCOUNT));
}
@Test
public void create_ValidFormSubmitted() {
final Model model = createNiceMock(Model.class);
final UserForm User = new UserForm();
final BindingResult errors = createNiceMock(BindingResult.class);
final String username = "username"; //Username not specified
final String password = "password"; //Password not specified
final String confirmPassword = password; //Confirm password not specified