### Question:
Method extends WadlElement { @Override public String toString() { final StringBuilder sb = new StringBuilder(); sb.append("{"); sb.append("id").append(" : ").append(id); sb.append(", "); sb.append("name").append(" : ").append(verb); sb.append(", "); sb.append("request").append(" : ").append(request); sb.append(", "); sb.append("responses").append(" : ").append(responses); sb.append(", "); sb.append("doc").append(" : ").append(getDocumentation()); sb.append("}"); return sb.toString(); } Method(final String id, final String verb, final List<Documentation> doc, final Request request,
            final List<Response> responses); String getId(); String getVerb(); Request getRequest(); List<Response> getResponses(); @Override String toString(); static final String NAME_HTTP_GET; static final String NAME_HTTP_POST; static final String NAME_HTTP_PUT; static final String NAME_HTTP_DELETE; static final String NAME_HTTP_PATCH; }### Answer:
@Test public void testToString() { assertTrue(!"".equals(method.toString())); }