void () { SliceTreeStructure treeStructure = configureTree("DupSlice"); SliceNode root = treeStructure.getRootElement(); SliceLeafAnalyzer analyzer = JavaSlicerAnalysisUtil.createLeafAnalyzer(); Collection<PsiElement> leaves = analyzer.calcLeafExpressions(root, treeStructure, analyzer.createMap()); assertNotNull(leaves); PsiElement element = assertOneElement(leaves); assertTrue(element instanceof PsiLiteralExpression); assertEquals(1111111111, ((PsiLiteral)element).getValue()); }