ObjectFactory { @XmlElementDecl(namespace = "", name = "value") public JAXBElement<String> createValue(String value) { return new JAXBElement<String>(_Value_QNAME, String.class, null, value); } ObjectFactory(); Property createProperty(); Configuration createConfiguration(); @XmlElementDecl(namespace = "", name = "description") JAXBElement<String> createDescription(String value); @XmlElementDecl(namespace = "", name = "name") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) JAXBElement<String> createName(String value); @XmlElementDecl(namespace = "", name = "value") JAXBElement<String> createValue(String value);  }
@Test public void testCreateValue_1() throws Exception { ObjectFactory fixture = new ObjectFactory(); String value = ""; JAXBElement<String> result = fixture.createValue(value); assertNotNull(result); assertEquals("", result.getValue()); assertEquals(false, result.isNil()); assertEquals(true, result.isGlobalScope()); assertEquals(false, result.isTypeSubstituted()); }