void () { PsiFile file = myFixture.configureByFile("LiteralsInNonNlsClass.java"); Set<ULiteralExpression> expressions = getUElementsOfTypeFromFile(file, ULiteralExpression.class); assertSize(7, expressions); expressions.forEach(expression -> assertTrue(isNonNlsStringLiteral(expression))); }