From cd0f94dd6c7fce4735b3059d965d1d5904a910c6 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 10 Apr 2014 03:13:25 +0200 Subject: [PATCH] DDC-3078 - removing tests for cache class setter/getter on cache configuration --- tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php b/tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php index 2c599b5bb..a12f94ec4 100644 --- a/tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php +++ b/tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php @@ -27,18 +27,6 @@ class CacheConfigTest extends DoctrineTestCase $this->config = new CacheConfiguration(); } - public function testSetGetCacheClassName() - { - $mockClass = get_class($this->getMock('Doctrine\ORM\Cache')); - - $this->assertEquals('Doctrine\ORM\Cache\DefaultCache', $this->config->getCacheClassName()); - $this->config->setCacheClassName($mockClass); - $this->assertEquals($mockClass, $this->config->getCacheClassName()); - - $this->setExpectedException('Doctrine\ORM\ORMException'); - $this->config->setCacheClassName(__CLASS__); - } - /** * @covers \Doctrine\ORM\Cache\CacheConfiguration::getCacheInstantiator */