예제 #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));
 }