public function testGetOptions() { $this->_storage = $this->getMockForAbstractAdapter(); $options = $this->_storage->getOptions(); $this->assertInstanceOf('Zend\\Cache\\Storage\\Adapter\\AdapterOptions', $options); $this->assertInternalType('boolean', $options->getWritable()); $this->assertInternalType('boolean', $options->getReadable()); $this->assertInternalType('integer', $options->getTtl()); $this->assertInternalType('string', $options->getNamespace()); $this->assertInternalType('string', $options->getKeyPattern()); }