### Question:
DomElContext extends BaseDomElContext<DomElContext> { public static DomElContext valueOf(BaseDomElContext baseDomElContext){ return new DomElContext(baseDomElContext); } DomElContext();  DomElContext(DomElContext source); private  DomElContext(BaseDomElContext source); @Override DomElContext deepClone(); static DomElContext valueOf(BaseDomElContext baseDomElContext);  }### Answer:
@Test public void test_valueOf() { BaseDomElContext source = createFullyConfiguredInstance(); DomElContext instance = DomElContext.valueOf(source); assertNotSame(instance, source); assertEquals(source, instance); }