@Test
public void testFindAllByName() {

	Page<ConceptCode> conceptCodes = mock(Page.class);
	List<ConceptCodeDto> conceptCodeDtos = mock(List.class);
	when(
			conceptCodeRepository.findAllByName(anyString(), anyString(),
					anyString(), anyString(), any(Pageable.class)))
			.thenReturn(conceptCodes);
	when(
			valueSetMgmtHelper
					.convertConceptCodeEntitiesToDtos(conceptCodes
							.getContent())).thenReturn(conceptCodeDtos);
	assertEquals(
			conceptCodeServiceImpl.findAllByName("a", null, null, null, 0)
					.get("conceptCodes"), conceptCodeDtos);
}