void () { final PyTargetExpression expression = assertResolvesTo(PyTargetExpression.class, PyNames.__CLASS__); final PyClass cls = expression.getContainingClass(); assertNotNull(cls); assertEquals("A", cls.getName()); }