|
@@ 80-86 (lines=7) @@
|
| 77 |
|
$this->configuration->getEntityNamespace('NonExistingNamespace'); |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
public function testSetGetQueryCacheImpl() |
| 81 |
|
{ |
| 82 |
|
self::assertSame(null, $this->configuration->getQueryCacheImpl()); // defaults |
| 83 |
|
$queryCacheImpl = $this->createMock(Cache::class); |
| 84 |
|
$this->configuration->setQueryCacheImpl($queryCacheImpl); |
| 85 |
|
self::assertSame($queryCacheImpl, $this->configuration->getQueryCacheImpl()); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
public function testSetGetHydrationCacheImpl() |
| 89 |
|
{ |
|
@@ 88-94 (lines=7) @@
|
| 85 |
|
self::assertSame($queryCacheImpl, $this->configuration->getQueryCacheImpl()); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
public function testSetGetHydrationCacheImpl() |
| 89 |
|
{ |
| 90 |
|
self::assertSame(null, $this->configuration->getHydrationCacheImpl()); // defaults |
| 91 |
|
$queryCacheImpl = $this->createMock(Cache::class); |
| 92 |
|
$this->configuration->setHydrationCacheImpl($queryCacheImpl); |
| 93 |
|
self::assertSame($queryCacheImpl, $this->configuration->getHydrationCacheImpl()); |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
public function testSetGetMetadataCacheImpl() |
| 97 |
|
{ |
|
@@ 96-102 (lines=7) @@
|
| 93 |
|
self::assertSame($queryCacheImpl, $this->configuration->getHydrationCacheImpl()); |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
public function testSetGetMetadataCacheImpl() |
| 97 |
|
{ |
| 98 |
|
self::assertSame(null, $this->configuration->getMetadataCacheImpl()); // defaults |
| 99 |
|
$queryCacheImpl = $this->createMock(Cache::class); |
| 100 |
|
$this->configuration->setMetadataCacheImpl($queryCacheImpl); |
| 101 |
|
self::assertSame($queryCacheImpl, $this->configuration->getMetadataCacheImpl()); |
| 102 |
|
} |
| 103 |
|
|
| 104 |
|
public function testAddGetNamedQuery() |
| 105 |
|
{ |