public function testPassingArrayToConstructor() { $directory = new Storage\Directory($this->getStorageDirectory()); $storage = new Storage(array('adapter' => $directory)); $this->assertTrue($storage->isEnabled()); }
public function testNoAdapterStorageIsNotEnabled() { $this->assertFalse($this->storage->isEnabled()); }