@Test public void testToString() { WSDLImport tested1 = new WSDLImport(); assertEquals(STRING_EMPTY, tested1.toString()); WSDLImport tested2 = new WSDLImport(STRING_EMPTY, STRING_EMPTY); assertEquals(STRING_EMPTY, tested2.toString()); WSDLImport tested3 = new WSDLImport(LOCATION, NAMESPACE); assertEquals(tested3.toString(), IDENTIFIER + DELIMITER + LOCATION + DELIMITER + NAMESPACE); }
@Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } }
WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } }
WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } WSDLImport();  WSDLImport(@MapsTo("location") final String location,
                      @MapsTo("namespace") final String namespace); }
WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } WSDLImport();  WSDLImport(@MapsTo("location") final String location,
                      @MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importValue); String getLocation(); void setLocation(final String location); String getNamespace(); void setNamespace(final String namespace); @Override String toString(); }
WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } WSDLImport();  WSDLImport(@MapsTo("location") final String location,
                      @MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importValue); String getLocation(); void setLocation(final String location); String getNamespace(); void setNamespace(final String namespace); @Override String toString();  }