* test calls the method, then result is checked.<p>
* Has <b> OK </b> status if controller, gotten after method call is not
* equal to a previous controller.
*/
public void _connectController() {
XController cont2 = (XController) tEnv.getObjRelation("CONT2");
XController old = oObj.getCurrentController();
result = false;
if (cont2 == null) {
log.println("No controller no show");
} else {
oObj.connectController(cont2);
String oldFrame = old.getFrame().getName();
String newFrame = cont2.getFrame().getName();
result = (!oldFrame.equals(newFrame));
}
tRes.tested("connectController()", result);