Bug 76792 organize imports: not correct: 0 import(s) added. [code manipulation]
Organize imports falsely sums up the total of added and removed imports to display a difference. 0 import(s) added. means that the total of added and removed imports is 0. It would be better if it told the user something like: 1 import(s) removed, 1 import(s) added. The status message is slightly more useful than you might think at first glance, as in the odd case that it does not work (which I can't reproduce) you want to notice this, and a useful status message helps.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java
buf.append("    public static class A1 {\n");
		buf.append("        public static class A2 {\n");
		buf.append("            public static class A3 {\n");
		buf.append("            }\n");
		buf.append("        }\n");
		buf.append("    }\n");
		
		buf.append("    public static class B1 {\n");
		buf.append("        public static class B2 {\n");
		buf.append("        }\n");
		
		buf.append("        public static class B3 {\n");
		buf.append("            public static class B4 extends C {\n");
		buf.append("                B4 b4;\n");
		buf.append("                B3 b3;\n");
		buf.append("                B2 b2;\n");
		buf.append("                B1 b1;\n");
		buf.append("                A1 a1;\n");
		buf.append("                A2 a2;\n");
		buf.append("                A3 a3;\n");
		buf.append("                C1 c1;\n");
		buf.append("                C2 c2;\n");
		buf.append("            }\n");
		buf.append("        }\n");
		buf.append("    }\n");
		buf.append("}\n");		
		ICompilationUnit cu2= pack2.createCompilationUnit("A.java", buf.toString(), false, null);
		String[] order= new String[0];
		IChooseImportQuery query= createQuery("A", new String[] {}, new int[] {});