void () { VirtualFile file = getFile("/src/1.txt"); assertNotNull(file); manager.openFile(file, false); EditorWindow primaryWindow = manager.getCurrentWindow(); assertNotNull(primaryWindow); manager.createSplitter(SwingConstants.VERTICAL, primaryWindow); EditorWindow secondaryWindow = manager.getNextWindow(primaryWindow); assertNotNull(secondaryWindow); manager.createSplitter(SwingConstants.VERTICAL, secondaryWindow); manager.closeFile(file, primaryWindow); assertEquals(2, manager.getWindows().length); }