public async Task Handle_When_Then() { var command = new CommandPlaceholder { // TODO: fill command properties here }; // TODO: replace with actual assertions here await Assert.ThrowsAsync <NotFoundException>(() => _sut.Handle(command, CancellationToken.None)); }
public async Task QueryPlaceholder() { var sut = new HandlerPlaceholder(_context, _mapper); var result = await sut.Handle(new QueryPlaceholderQuery { // TODO: fill query properties here }, CancellationToken.None); result.ShouldBeOfType <VmPlaceholder>(); }