public function getShareById()
{
// Getting shares from cache.
$this->_getShareById();
try {
self::$share->getShareById(99999);
$this->fail('Share 99999 was expected to not exist.');
} catch (Horde_Exception_NotFound $e) {
}
// Reset cache.
self::$share->resetCache();
// Getting shares from backend.
$this->_getShareById();
}