Exemplo n.º 1
0
 public void HashPassword_should_delegate_to_formsAuthentication()
 {
     formsAuthentication.Expect(x => x.HashPasswordForStoringInConfigFile("foo")).Return("bar");
     userService.HashPassword("foo").ShouldEqual("bar");
 }