@Test public void testGetMaxApplicantIdWithApplicantRepositoryShouldReturnSetupId() throws Exception { ApplicantDto result = applicantRepository.getMaxApplicantId(); assertThat(result.getId(), is(applicant.getId())); }