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\amazons3TestView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheTest:: |
public | function | Test that the cache bin is properly set. |