Exemplo n.º 1
0
        public async Task AddContactRequest_ShouldReturnBool_WhenRequestAdded_HappyFlow()
        {
            Users user = new Users();
            ProductListingData productListingData = new ProductListingData();

            _userRepositoryMock.Setup(u => u.AddContactRequest(productListingData, user)).ReturnsAsync(true);
            Boolean addedRequest = await _userServices.AddContactRequest(productListingData, user);

            Assert.IsTrue(addedRequest);
        }