}
@Test
public void create_BlankFormSubmitted() {
final Model model = createNiceMock(Model.class);
final NewUser newUser = new NewUser();
final BindingResult errors = createNiceMock(BindingResult.class);
final String username = ""; //Username not specified
final String password = ""; //Password not specified
final String confirmPassword = ""; //Confirm password not specified
List<ObjectError> errorList = new ArrayList<ObjectError>();
newUser.setUsername(username);
newUser.setPassword(password);
newUser.setConfirmPassword(confirmPassword);
errorList.add(new ObjectError("username.required", "Username required"));
errorList.add(new ObjectError("password.required", "Password required"));
errorList.add(new ObjectError("confirmPassword.required", "Confirm password required"));