public void GetUserByName_Success() { var expected = new IdentityUser { UserName = _userName }; IdentityUser result = _crowdAuthenticatedUserClient.GetUserByName(_userName); result.ShouldBeEquivalentTo(expected); }
public void AuthenticateUser_Success() { var expected = new IdentityUser { UserName = _userName }; IdentityUser result = _crowdAuthenticatedUserClient.AuthenticateUser(_userName, _password); result.ShouldBeEquivalentTo(expected); }