### Question:
WsdlCreator { private void createOperation(Document doc, Operation operation) throws GeneratorException { String opid = String.valueOf(operation.getOid()); NodeList portTypeNodeList = doc.getElementsByTagName("wsdl:portType"); Node portTypeNode = portTypeNodeList.item(0); Element operationElm = doc.createElement("wsdl:operation"); String servOpStr = operation.getName(); operationElm.setAttribute("name", servOpStr); Element documentationElm = doc.createElement("wsdl:documentation"); String servDocStr = operation.getDescription(); if (servDocStr == null || servDocStr.equals("")) { throw new GeneratorException("No documentation for service operation id " + opid + " available "); } documentationElm.setTextContent(servDocStr); Element inputElm = doc.createElement("wsdl:input"); inputElm.setAttribute("message", "tns:"+operation.getName()+"Request"); inputElm.setAttribute("wsaw:Action", servOpStr); Element subDocElm = doc.createElement("wsdl:documentation"); inputElm.appendChild(subDocElm); Element outputElm = doc.createElement("wsdl:output"); outputElm.setAttribute("message", "tns:"+operation.getName()+"Response"); outputElm.setAttribute("wsaw:Action", "http: Element subDocOutElm = doc.createElement("wsdl:documentation"); outputElm.appendChild(subDocOutElm); documentationElm.setTextContent(servDocStr); operationElm.appendChild(documentationElm); operationElm.appendChild(inputElm); operationElm.appendChild(outputElm); portTypeNode.appendChild(operationElm); } WsdlCreator(PropertiesSubstitutor st, String wsdlSourcePath, String wsdlTargetAbsPath, List<Operation> operations); void insertDataTypes();  }### Answer:
@Test public void testObjectFactory() { ObjectFactory instance = new ObjectFactory(); instance.createAccessdir(null); instance.createAccessurl(null); instance.createCliMapping(null); instance.createCommand(null); instance.createDataexchange(); instance.createDatatype(null); instance.createDefault(); instance.createDeployment(); instance.createDeployments(); instance.createDeployref(); instance.createDeployto(); instance.createDescription(null); instance.createDocumentation(null); instance.createHomepage(null); instance.createHost(null); instance.createId(null); instance.createIdentifier(null); instance.createInOut(); instance.createInput(); instance.createInput(null); instance.createInputs(); instance.createInstallation(); instance.createManager(); instance.createName(null); instance.createOperation(); instance.createOperations(); instance.createOs(); instance.createOutFileName(null); instance.createOutputs(); instance.createPassword(null); instance.createPath(null); instance.createPort(); instance.createPorts(); instance.createRequired(null); instance.createRestriction(); instance.createService(); instance.createServices(); instance.createToolspec(); instance.createUser(null); instance.createVersion(null); }