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

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