public void Can_reset_password()
{
var author = new User {Email = "[email protected]", Password = "1234"};
userRepository.Expect(x => x.GetAuthorByEmail("[email protected]"))
.Return(author);
membershipService.ResetPassword("[email protected]");
userRepository.AssertWasCalled(x => x.SaveUser(author));
Assert.AreNotEqual(author.Password, "1234");
}