You are here

class CacheTest in AmazonS3 7.2

Test our cache wrapper.

@class CacheTest @package Drupal\amazons3Test

Hierarchy

  • class \Drupal\amazons3Test\CacheTest extends \Drupal\amazons3Test\PHPUnit_Framework_TestCase

Expanded class hierarchy of CacheTest

File

tests/CacheTest.php, line 13

Namespace

Drupal\amazons3Test
View source
class CacheTest extends \PHPUnit_Framework_TestCase {

  /**
   * Test that the cache bin is properly set.
   *
   * @covers Drupal\amazons3\cache::__construct
   */
  public function testCacheBin() {
    $cache = new Cache();
    $this
      ->assertEquals('cache_amazons3_metadata', $cache
      ->getCacheTable());
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CacheTest::testCacheBin public function Test that the cache bin is properly set.