Ejemplo n.º 1
0
        public async Task EmailShouldNotExist()
        {
            await using (var context = new DbContextFactory().CreateContext())
            {
                var service = new UserServiceFactory().Create(context);

                var result = await service.EmailExists("*****@*****.**");

                result.Should().BeFalse();
            }
        }