public void AddedUserShouldBeRetrievable() { var userMapper = new UserMapper(); var guid = userMapper.AddUser("user", "first", "last", new string[0]); var user = userMapper.GetUserFromIdentifier(guid, null); user.UserName.Should().Be("user"); user.Claims.Should().BeEmpty(); }
public void AddUserShouldReturnGuid() { var userMapper = new UserMapper(); userMapper.AddUser("user", "first", "last", new string[0]).Should().NotBeEmpty(); }