proveExpectation(expected));
log.println("... done");
log.println("opening an writer doc via Window-New Window");
notifyEvents.clear();
xTextDoc = wHelper.openFromDialog(".uno:NewWindow", "", false);
shortWait();
expected = new String[] { "OnUnfocus", "OnCreate", "OnViewCreated", "OnFocus", "OnUnfocus", "OnViewCreated", "OnFocus", };
assure("Wrong events fired when opening an writer doc via Window-New Window",
proveExpectation(expected));