init() public method

Initialize the proxied Cache Engine
public init ( array $config = [] ) : boolean
$config array Array of setting for the engine.
return boolean True, this engine cannot fail to initialize.
 /**
  * Test that the normal errors bubble up still.
  *
  * @expectedException BadMethodCallException
  * @return void
  */
 public function testInitErrorOnInvalidConfig()
 {
     $engine = new DebugEngine(['className' => 'Derpy', 'path' => TMP]);
     $engine->init();
 }