public IfPassedAnEmptyRequest() { _handler = GetAllPostsHandlerTests.CreateHandler(); }
public WhenRepositoryIsEmpty() { GetAllPostsHandler handler = GetAllPostsHandlerTests.CreateHandler(); _results = handler.Handle(new GetAllPostsRequest()); }
public void ThrowsArgumentNullException() { Assert.Throws <ArgumentNullException>(() => GetAllPostsHandlerTests.CreateHandler(null)); }