public async Task Should_Get_Feedstock() { var getFeedstockQueryHandler = new GetFeedstockQueryHandler(_feedstockRepository); var request = GetFeedstockQueryRequest.New(FeedstockId.New()); var feedstockDto = await getFeedstockQueryHandler.Handle(request, new CancellationToken()); Assert.NotNull(feedstockDto); }
public void Should_Create_GetFeedstockQueryHandler() { var getFeedstockQueryHandler = new GetFeedstockQueryHandler(_feedstockRepository); Assert.NotNull(getFeedstockQueryHandler); }