/** * @covers Opc_View_Cache::setKey * @covers Opc_View_Cache::getKey */ public function testKeySetters() { $viewCache = new Opc_View_Cache(); $this->assertNull($viewCache->getKey()); $viewCache->setKey('foo'); $this->assertSame('foo', $viewCache->getKey()); }