public async Task ReturnsAUser() { var user = await UsersClient.GetByUserId(UserId); Assert.NotNull(user); Assert.Equal(user.Id, UserId); }
public async Task ReturnsNullIfNotFound() { var user = await UsersClient.GetByUserId(int.MaxValue); Assert.Null(user); }