Пример #1
0
        public async Task Should_Get_Measure_List()
        {
            var listMeasureQueryHandler = new ListMeasureQueryHandler(_measureRepository);
            var request = ListMeasureQueryRequest.New("nome", "ASC", 1, 1);

            var pagination = await listMeasureQueryHandler.Handle(request, new CancellationToken());

            Assert.NotNull(pagination);
        }
Пример #2
0
        public void Should_Create_ListMeasureQueryHandler()
        {
            var listMeasureQueryHandler = new ListMeasureQueryHandler(_measureRepository);

            Assert.NotNull(listMeasureQueryHandler);
        }