Пример #1
0
            public async Task ReturnsAUser()
            {
                var user = await UsersClient.GetByUserId(UserId);

                Assert.NotNull(user);
                Assert.Equal(user.Id, UserId);
            }
Пример #2
0
            public async Task ReturnsNullIfNotFound()
            {
                var user = await UsersClient.GetByUserId(int.MaxValue);

                Assert.Null(user);
            }