### Question:
Application extends WadlElement { @Override public String toString() { final StringBuilder sb = new StringBuilder(); sb.append("{"); sb.append("grammars").append(" : ").append(grammars); sb.append(", "); sb.append("resources").append(" : ").append(resources); sb.append(", "); sb.append("resourceTypes").append(" : ").append(resourceTypes); sb.append(", "); sb.append("methods").append(" : ").append(methods); sb.append(", "); sb.append("representations").append(" : ").append(representations); sb.append(", "); sb.append("faults").append(" : ").append(faults); sb.append(", "); sb.append("doc").append(" : ").append(getDocumentation()); sb.append("}"); return sb.toString(); } Application(final List<Documentation> doc, final Grammars grammars, final Resources resources,
            final List<ResourceType> resourceTypes, final List<Method> methods,
            final List<Representation> representations, final List<Representation> faults); Grammars getGrammars(); Resources getResources(); List<ResourceType> getResourceTypes(); List<Method> getMethods(); List<Representation> getRepresentations(); List<Representation> getFaults(); @Override String toString();  }### Answer:
@Test public void testToString() { assertTrue(!"".equals(application.toString())); }