public function testInitWithCustomConnector() { $handler = new PHPConsoleHandler(array(), $this->connector); $this->assertEquals(spl_object_hash($this->connector), spl_object_hash($handler->getConnector())); }
protected function getHandlerDefaultOption($name) { $handler = new PHPConsoleHandler(array(), $this->connector); $options = $handler->getOptions(); return $options[$name]; }