@Test
public void doAction_noRelative() throws PersistenceException, ItemExistsException, PathNotFoundException, VersionException,
        ConstraintViolationException, LockException, RepositoryException {

    CreateResource action = new CreateResource(NEW_NAME, properties, null, resolver);
    action.doAction(resource);
    verify(resolver, times(1)).create(resource, NEW_NAME, properties);
}