@Test//TODO TestCase needs to be extended
public void testUpdateUserDefinition() {
Assume.assumeTrue(ActivitiDetector.isActivitiEnabledForUsers());
WorkflowDefinitionTO definition = workflowService.getDefinition(AttributableType.USER);
assertNotNull(definition);
workflowService.updateDefinition(AttributableType.USER, definition);
WorkflowDefinitionTO newDefinition = workflowService.getDefinition(AttributableType.USER);
assertNotNull(newDefinition);
}