@Test
public void givenSameNewPasswordsAndOldPasswordShouldSendErrorMessageTest() throws Exception {

    sut.setPassword(OLD_PASSWORD);
    sut.setPasswordRepe(OLD_PASSWORD);
    final String result = sut.changePassword();
    assertThat(result, is(nullValue()));
    verify(sut).addErrorMessage("error.newPasswordEqualsOldPassword");
}