public function testListActionWithFilledConfiguration() { $this->markTestIncomplete(); $configuration = array('name_to_configuration_path' => array('locator_one' => __FILE__, 'locator_two' => __FILE__)); $console = $this->console; $console->shouldReceive('writeLine')->with('locator: locator_one with configuration file "' . __FILE__ . '"')->once(); $console->shouldReceive('writeLine')->with('locator: locator_two with configuration file "' . __FILE__ . '"')->once(); $this->controller->setConfiguration($configuration); $this->routeMatch->setParam('action', 'list'); $this->controller->dispatch($this->request); }