try {
createResource(resourceService, resourceTO);
fail("Create should not have worked");
} catch (SyncopeClientCompositeErrorException e) {
SyncopeClientException requiredValueMissing = e
.getException(SyncopeClientExceptionType.RequiredValuesMissing);
assertNotNull(requiredValueMissing);
assertNotNull(requiredValueMissing.getElements());
assertEquals(1, requiredValueMissing.getElements().size());
assertEquals("intAttrName", requiredValueMissing.getElements().iterator().next());
}
}