class AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService {

    @Override
    public RestResult<Long> countByStateAndCompetition(AssessmentState state, long competitionId) {
        return getWithRestResult(format("%s/state/%s/competition/%s/count", assessmentRestURL, state.getStateName(), competitionId), Long.TYPE);
    }

}