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

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