@SuppressWarnings({ "unchecked", "rawtypes" })

@Test
public void testfindAll() {
	List<CodeSystemVersion> codeSystemVersionsMock = mock(List.class);
	when(codeSystemVersionRepository.findAll()).thenReturn(
			codeSystemVersionsMock);
	List<CodeSystemVersionDto> codeSystemVersionDtos = new ArrayList();
	CodeSystemVersionDto codeSystemVersionDto = mock(CodeSystemVersionDto.class);
	codeSystemVersionDtos.add(codeSystemVersionDto);
	when(
			valueSetMgmtHelper
					.convertCodeSystemVersionEntitiesToDtos(codeSystemVersionsMock))
			.thenReturn(codeSystemVersionDtos);
	assertEquals(vst.findAll(), codeSystemVersionDtos);
}