public async Task CreateUserExistsTest()
        {
            var request = new UserDTO()
            {
                Email = "*****@*****.**", Login = "******", Password = "******"
            };
            var response = await _client.PostAsync($"account/register", GroceryFactory.GetPayload(request));

            var responseString = await response.Content.ReadAsStringAsync();

            responseString.Should().BeEquivalentTo("USER_EXISTS");
        }
        public async Task CreateUserTest()
        {
            var request = new UserDTO()
            {
                Email = "*****@*****.**", Login = "******", Password = "******"
            };
            var response = await _client.PostAsync($"account/register", GroceryFactory.GetPayload(request));

            response.EnsureSuccessStatusCode();
            var responseString = await response.Content.ReadAsStringAsync();

            responseString.Should().Be("true");
        }
        public async Task LoginUserTest()
        {
            var request = new UserDTO()
            {
                Email = "*****@*****.**", Login = "******", Password = "******"
            };
            await _client.PostAsync($"account/register", GroceryFactory.GetPayload(request));

            var response = await _client.GetAsync($"account/{request.Login}/{request.Password}");

            var responseString = await response.Content.ReadAsStringAsync();

            var user = JsonConvert.DeserializeObject <LoginUserFoundDTO>(responseString);

            user.Email.Should().ContainEquivalentOf("*****@*****.**");
        }