public function PhpFileCacheTest::testNotImplementsSetState

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Cache/PhpFileCacheTest.php, line 88

Class

PhpFileCacheTest
@group DCOM-101

Namespace

Doctrine\Tests\Common\Cache

Code

public function testNotImplementsSetState() {
  $cache = $this
    ->_getCacheDriver();
  $this
    ->setExpectedException('InvalidArgumentException');
  $cache
    ->save('test_not_set_state', new NotSetStateClass(array(
    1,
    2,
    3,
  )));
}