void () { final GoogleCodeStyleDocString docString = findAndParseGoogleStyleDocString(); assertEmpty(docString.getSummary()); assertSize(2, docString.getSections()); final Section paramSection = docString.getSections().get(0); assertSize(1, paramSection.getFields()); final SectionField param1 = paramSection.getFields().get(0); assertEquals("a1", param1.getName()); assertEquals(":class:`MyClass`", param1.getType()); assertEquals("used to call :def:`my_function` and access :attr:`my_attr`", param1.getDescription()); final Section raisesSection = docString.getSections().get(1); assertSize(1, raisesSection.getFields()); final SectionField exception1 = raisesSection.getFields().get(0); assertEmpty(exception1.getName()); assertEquals(":class:`MyException`", exception1.getType()); assertEquals("thrown in case of any error", exception1.getDescription()); }