// this case the com.sun.star.frame.XController would be failed!
//xInspector.attachFrame(xFrame);
//xWindow.setVisible(true);
Object[] oInspect = new Object[1];
oInspect[0] = new PropertyHandlerImpl();
TestEnvironment tEnv = new TestEnvironment(xInspector);
// com.sun.star.frame.XController
tEnv.addObjRelation("Frame",xFrame);