@Test
public void testCreateValueSetValueSetCategory() {

	ValueSetCategoryDto created = mock(ValueSetCategoryDto.class);
	when(created.getDescription()).thenReturn("description");
	when(created.getName()).thenReturn("name");
	when(created.getCode()).thenReturn("code");
	when(created.getUserName()).thenReturn("username");
	ValueSetCategory valueSetCategory = mock(ValueSetCategory.class);
	when(valueSetCategoryRepository.save(valueSetCategory)).thenReturn(
			valueSetCategory);
	// when(consentRepositoryMock.findAllByConsentDoNotShareSensitivityPolicyCodesValueSetCategory(valueSetCategory)).thenReturn(null);
	when(
			valueSetMgmtHelper.createValuesetCategoryDtoFromEntity(
					any(ValueSetCategory.class),
					any(ConsentRepository.class))).thenReturn(created);
	ValueSetCategoryDto result = vst.create(created);
	Assert.assertEquals(result, created);
}