\MongodbBackendTest
Tests the Zend Cache Backend with a Mongo driver against the MongoClient.
- Author: Christian Blank <c.blank@notthatbad.net>
Synopsis
class MongodbBackendTest
extends SapphireTest
{
- // members
- private static array $cache_opts = ;
- private MongoCollection $collection;
- private static string $backend_name = 'test_mongo_cache';
- private static string $cache_name = 'test_mongo_cache';
- // methods
- public void setUp()
- public void setUpOnce()
- public void tearDown()
- public void testExistence()
- public void testWrite()
- public void testRead()
Hierarchy
Extends
- SapphireTest
Members
private
- $backend_name
- $cache_name
- $cache_opts
- $collection — MongoCollection