ObjectFactory { public Property createProperty() { return new Property(); } 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 testCreateProperty_1() throws Exception { ObjectFactory fixture = new ObjectFactory(); Property result = fixture.createProperty(); assertNotNull(result); assertEquals("Property [name=null, value=null, description=null, getName()=null, getValue()=null, getDescription()=null]", result.toString()); assertEquals(null, result.getName()); assertEquals(null, result.getValue()); assertEquals(null, result.getDescription()); }