@Test
public void testfindId() {

	ValueSetCategory valueSetCategory = mock(ValueSetCategory.class);
	when(valueSetCategoryRepository.findOne(anyLong())).thenReturn(
			valueSetCategory);
	when(
			consentRepositoryMock
					.findAllByDoNotShareSensitivityPolicyCodesValueSetCategory(valueSetCategory))
			.thenReturn(null);
	ValueSetCategoryDto valueSetCategoryDto = mock(ValueSetCategoryDto.class);
	when(
			valueSetMgmtHelper.createValuesetCategoryDtoFromEntity(
					valueSetCategory, consentRepositoryMock)).thenReturn(
			valueSetCategoryDto);
	assertEquals(vst.findById((long) 1), valueSetCategoryDto);
}