return inv;
}
};
mockRoom.getContainerLocation();
ObjectLocation loc = new ObjectLocation();
loc.setDefinition("tomb/tomb1.groovy");
loc.setBeanId("id");
mockCtrl.setDefaultReturnValue(loc);
mockRoom.setCurrentContainer(reg);
mockCtrl.setDefaultVoidCallable();
mockCtrl.replay();
inv.addMudObject("id", mockRoom);
invCtrl.setDefaultVoidCallable();
invCtrl.replay();
obs.addObserver(reg);
obsCtrl.setDefaultVoidCallable();
obsCtrl.replay();
reg.addMudObject(loc.getBeanId(), mockRoom);
mockCtrl.verify();
invCtrl.verify();
obsCtrl.verify();
}