public function testMethodGetuidGetsDelegated() { $session = $this->getMock('Horde_Kolab_Session'); $session->expects($this->once())->method('getUid')->will($this->returnValue('1')); $anonymous = new Horde_Kolab_Session_Decorator_Base($session); $anonymous->getUid(); }