Beispiel #1
0
        public async Task GIVEN_no_customer_with_id_WHEN_CustomerExists_THEN_return_false(Guid customerId)
        {
            A.CallTo(() => _dbContext.Customers).Returns(ContainerFactory.FakeContainer(new CustomerState[0]));

            var customerExists = await _sut.CustomerExists(customerId);

            Assert.False(customerExists);
        }