docs: public SomeUnpublishedObject create(
              final String name) {
          final SomeUnpublishedObject obj = container.newTransientInstance(SomeUnpublishedObject.class);
          obj.setName(name);
          container.persistIfNotAlready(obj);
          return obj;
      }