Example #1
0
 public function testReadPhpConfig()
 {
     $controller = new Controller(__DIR__ . '/pipes', true);
     $actual = $controller->readConfig('third');
     $expected = [['type' => 'atom', 'url' => 'http://urmaul.com/atom.xml'], ['type' => 'block', 'rules' => ['title' => 'Yii']]];
     $this->assertEquals($expected, $actual);
 }