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