You are here

CacheIsEmptyTest.php in MongoDB 7

File

mongodb_cache/src/Tests/CacheIsEmptyTest.php
View source
<?php

namespace Drupal\mongodb_cache\Tests;


/**
 * Test cache_is_empty() function.
 *
 * Check if a cache bin is empty after performing clear operations.
 *
 * @package Drupal\mongodb_cache
 *
 * @group MongoDB: Cache
 */
class CacheIsEmptyTest extends \CacheIsEmptyCase {
  use CacheTestTrait;

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    drupal_flush_all_caches();
    parent::setUp();
  }

  /**
   * {@inheritdoc}
   */
  public function tearDown() {
    drupal_flush_all_caches();
    parent::tearDown();
  }

}

Classes

Namesort descending Description
CacheIsEmptyTest Test cache_is_empty() function.