proveExpectation(expected));
System.out.println("... done");
System.out.println("closing the empty writer doc");
notifyEvents.clear();
wHelper.closeDoc(xTextDoc);
shortWait();
}
expected = new String[] { "OnUnfocus", "OnFocus", "OnViewClosed", "OnUnload" };
assertTrue("Wrong events fired when closing empty doc",