@Test(expected = ValueSetCategoryNotFoundException.class)
public void testCreateValueSet_throw_ValueSetCategoryNotFoundException()
		throws ValueSetCategoryNotFoundException {

	ValueSetDto created = mock(ValueSetDto.class);
	when(created.getDescription()).thenReturn("description");
	when(created.getName()).thenReturn("name");
	when(created.getCode()).thenReturn("code");
	when(created.getValueSetCategoryId()).thenReturn((long) 1);
	ValueSetCategory selected = new ValueSetCategory();
	selected.setCode("code");
	selected.setName("name");
	selected.setId((long) 1);
	when(valueSetCategoryRepository.findOne((long) 1)).thenReturn(null);
	when(
			valueSetMgmtHelper
					.createValuesetDtoFromEntity(any(ValueSet.class)))
			.thenReturn(created);
	ValueSetDto result = vst.create(created);
	assertNotNull(result);
}