You are here

public function PhpFileCacheTest::testNotImplementsSetState in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/PhpFileCacheTest.php \Doctrine\Tests\Common\Cache\PhpFileCacheTest::testNotImplementsSetState()

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/PhpFileCacheTest.php, line 68

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,
  )));
}