AllReady.UnitTest.Features.Event.EventsByApplicationUserIdQueryHandlerShould.EventsByApplicationUserIdQueryHandlerShould C# (CSharp) Метод

EventsByApplicationUserIdQueryHandlerShould() публичный Метод

public EventsByApplicationUserIdQueryHandlerShould ( ) : System
Результат System
        public EventsByApplicationUserIdQueryHandlerShould()
        {
            message = new EventsByApplicationUserIdQuery { ApplicationUserId = Guid.NewGuid().ToString() };
            @event = new Event { Organizer = new ApplicationUser {Id = message.ApplicationUserId } };


            Context.Add(@event);
            Context.SaveChanges();

            sut = new EventsByApplicationUserIdQueryHandler(Context);
        }