void () { final EpydocString docstring = createEpydocDocString("@raises Exception1: foo\n" + "@except Exception2: bar"); assertSameElements(docstring.getRaisedExceptions(), "Exception1", "Exception2"); assertEquals("foo", docstring.getRaisedExceptionDescription("Exception1")); assertEquals("bar", docstring.getRaisedExceptionDescription("Exception2")); }