public function _listSharesGuest()
{
$this->switchAuth(null);
// Guest shares.
$shares = self::$share->listShares(false, array('perm' => Horde_Perms::SHOW, 'sort_by' => 'id'));
$this->assertEquals(array('systemshare'), array_keys($shares));
$this->switchAuth('john');
}