@Test(expected = ValueSetNotFoundException.class)
public void testUpdateConceptCode_throw_valueSetNotFoundException2()
		throws ConceptCodeNotFoundException, ValueSetNotFoundException {

	ConceptCodeDto updated = mock(ConceptCodeDto.class);
	when(updated.getId()).thenReturn((long) 1);
	when(updated.getCode()).thenReturn("code");
	when(updated.getName()).thenReturn("name");
	when(updated.getUserName()).thenReturn("username");
	ConceptCode conceptCode = mock(ConceptCode.class);
	when(conceptCode.getId()).thenReturn((long) 1);
	when(conceptCodeRepository.findOne(anyLong())).thenReturn(conceptCode);
	ConceptCodeDto conceptCodeDto = mock(ConceptCodeDto.class);
	when(valueSetMgmtHelper.createConceptCodeDtoFromEntity(conceptCode))
			.thenReturn(conceptCodeDto);
	List<Long> selVsIds = Arrays.asList((long) 1, (long) 2, (long) 3);
	when(updated.getValueSetIds()).thenReturn(selVsIds);
	when(conceptCodeValueSetRepository.findAllByPkConceptCodeId(anyLong()))
			.thenReturn(null);
	conceptCodeServiceImpl.update(updated);
}