示例#1
0
 public IfPassedAnEmptyRequest()
 {
     _handler = GetAllPostsHandlerTests.CreateHandler();
 }
示例#2
0
        public WhenRepositoryIsEmpty()
        {
            GetAllPostsHandler handler = GetAllPostsHandlerTests.CreateHandler();

            _results = handler.Handle(new GetAllPostsRequest());
        }
示例#3
0
 public void ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => GetAllPostsHandlerTests.CreateHandler(null));
 }