PsiElement () { final YAMLKeyValue keyValue = createYamlKeyValue("foo", "bar"); final ASTNode whitespaceNode = keyValue.getNode().findChildByType(TokenType.WHITE_SPACE); assert whitespaceNode != null; return whitespaceNode.getPsi(); }