void () { PsiElement targetElement = resolve(); assertInstanceOf(targetElement, PyStringLiteralExpression.class); assertEquals("Docstring of class Foo", ((PyStringLiteralExpression)targetElement).getStringValue()); }