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

                var result = await service.HostOwnsEvent(EventId, new Guid());

                result.Should().Be(false);
            }
        }