@Test(expected = UnsupportedPropertyException.class)
public void testCreateShouldThrowExceptionWhenNoNameProvided() throws Exception {

  // GIVEN
  EasyMock.expect(request.getProperties()).andReturn(emptyRequestPropertySet()).times(2);
  EasyMock.replay(request);
  kerberosDescriptorResourceProvider = new KerberosDescriptorResourceProvider(kerberosDescriptorDAO,
      kerberosDescriptorFactory, Collections.<String>emptySet(), Collections.<Resource.Type, String>emptyMap(), null);
  // WHEN
  kerberosDescriptorResourceProvider.createResources(request);
  // THEN
  // exception is thrown
}