public function MockBin::__construct in MongoDB 7
MockBin constructor.
Parameters
string $bin: The name of the mocked bin.
Overrides Cache::__construct
File
- mongodb_cache/
src/ Tests/ CacheUnitTestCase.php, line 70
Class
Namespace
Drupal\mongodb_cache\TestsCode
public function __construct($bin) {
// Do not call parent::__construct($bin) to preserve the "mock" aspect.
$this->collection = new MockCollection($bin);
}