Exemple #1
0
        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>();
        }
Exemple #2
0
 public FixturePlaceholder()
     : base()
 {
     _mediator = new Mock <IMediator>();
     _sut      = new HandlerPlaceholder(_context, _mediator.Object);
 }