Beispiel #1
0
        public async Task GivenBuscaPaginadaAsync(int skip, int take)
        {
            var query = new GetProcessosQuery()
            {
                Skip = skip,
                Take = take
            };
            var processos = ProcessosQueryViewModel.ToList();

            processos.AddRange(await Mediator.SendAsync(query));
            ProcessosQueryViewModel = processos;
        }
Beispiel #2
0
 public void ThenProcessos(int quantity)
 {
     Assert.AreEqual(quantity, ProcessosQueryViewModel.Count());
 }