'file', 'path' => 'Cache']) ); } /** * @expectedException \InvalidArgumentException */ public function testInvalidCacheType() { ConnectionFactory::create(['type' => 'invalid', 'path' => 'Cache']); } }