@Test public void createConfiguration() { final Config configuration = mock(Config.class); final JAXBElement<Config> element = objectFactory.createConfiguration(configuration); assertThat(element).isNotNull(); assertThat(element.getValue()).isSameAs(configuration); }
@XmlElementDecl(namespace = "http: public JAXBElement<Config> createConfiguration(Config value) { return new JAXBElement<>(QNAME, Config.class, null, value); }
ObjectFactory { @XmlElementDecl(namespace = "http: public JAXBElement<Config> createConfiguration(Config value) { return new JAXBElement<>(QNAME, Config.class, null, value); } }
ObjectFactory { @XmlElementDecl(namespace = "http: public JAXBElement<Config> createConfiguration(Config value) { return new JAXBElement<>(QNAME, Config.class, null, value); }  }
ObjectFactory { @XmlElementDecl(namespace = "http: public JAXBElement<Config> createConfiguration(Config value) { return new JAXBElement<>(QNAME, Config.class, null, value); }  @XmlElementDecl(namespace = "http://tessera.github.com/config", name = "configuration") JAXBElement<Config> createConfiguration(Config value); }
ObjectFactory { @XmlElementDecl(namespace = "http: public JAXBElement<Config> createConfiguration(Config value) { return new JAXBElement<>(QNAME, Config.class, null, value); }  @XmlElementDecl(namespace = "http://tessera.github.com/config", name = "configuration") JAXBElement<Config> createConfiguration(Config value);  }