use of wooteco.prolog.report.application.dto.report.response.SimpleReportPageableResponse in project prolog by woowacourse.
the class ReportStepDefinitions method 단순리포트목록이조회된다.
@Then("단순 리포트 목록이 조회된다")
public void 단순리포트목록이조회된다() {
SimpleReportPageableResponse simpleReportPageableResponse = context.response.as(SimpleReportPageableResponse.class);
assertThat(simpleReportPageableResponse.getCurrentPage()).isOne();
assertThat(simpleReportPageableResponse.getTotalPage()).isOne();
assertThat(simpleReportPageableResponse.getTotalSize()).isOne();
assertThat(simpleReportPageableResponse.getReports()).hasSize(1);
}
Aggregations