Then what you want is as follows:

````
                var path = testPath + "/couz.png",
                    promise;
                runs(function () {
                    promise = CommandManager.execute(Commands.FILE_OPEN, { fullPath: path });
                    waitsForDone(promise, Commands.FILE_OPEN);
                });
                
                runs(function () {
                    expect(EditorManager.getActiveEditor()).toEqual(null);
                    expect(EditorManager.getCurrentFullEditor()).toEqual(null);
                    expect(EditorManager.getFocusedEditor()).toEqual(null);
                    expect(EditorManager.getCurrentlyViewedPath()).toEqual(path);
                    var d = DocumentManager.getCurrentDocument();
                    expect(d).toEqual(null);
                });
````