Example #1
0
 public function testGetRouteArray()
 {
     $stub = $this->getMockBuilder('Ignaszak\\Router\\Matcher\\Converter')->disableOriginalConstructor()->getMock();
     $stub->expects($this->once())->method('convert')->willReturn([]);
     MockTest::inject($this->route, 'converter', $stub);
     $this->route->getRouteArray();
 }