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