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); }
public void Should_Create_ListMeasureQueryHandler() { var listMeasureQueryHandler = new ListMeasureQueryHandler(_measureRepository); Assert.NotNull(listMeasureQueryHandler); }