You are here

public function PhpFileCacheTest::testNotImplementsSetState in Plug 7

File

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