use of wooteco.prolog.common.PageableResponse in project prolog by woowacourse.
the class ReportDocumentation method 리포트_목록_조회.
@Test
void 리포트_목록_조회() {
PageableResponse response = new PageableResponse(REPORT_RESPONSES, 2L, 1, 1);
when(reportService.findReportsByUsername(any(), any())).thenReturn(response);
given.when().get("/members/username/reports").then().log().all().apply(document("reports/list")).statusCode(HttpStatus.OK.value());
}
Aggregations