public async Task Should_Delete_Feedstock() { var deleteFeedstockCommandHandler = new DeleteFeedstockCommandHandler(_feedstockRepository); var request = DeleteFeedstockCommandRequest.New(Guid.NewGuid()); await deleteFeedstockCommandHandler.Handle(request, new CancellationToken()); Assert.True(deleted); }
public void Should_Create_DeleteFeedstockCommandHandler() { var deleteFeedstockCommandHandler = new DeleteFeedstockCommandHandler(_feedstockRepository); Assert.NotNull(deleteFeedstockCommandHandler); }