Return the namespace handler for the underlying connection.
public getNamespace ( ) : Horde_Kolab_Storage_Folder_Namespace | ||
return | Horde_Kolab_Storage_Folder_Namespace | The namespace handler. |
public function testGetNamespace() { $driver = $this->_getDriver(); $driver->expects($this->once())->method('getNamespace')->will($this->returnValue('NAMESPACE')); $tools = new Horde_Kolab_Storage_List_Tools($driver, $this->getMock('Horde_Kolab_Storage_Cache', array(), array(), '', false, false), $this->getMock('Horde_Log_Logger')); $this->assertEquals('NAMESPACE', $tools->getNamespace()); }