public function testGetCurrentRouteResult()
 {
     $this->routeAssemblerProphezy->getCurrentRouteResult()->willReturn(RouteResult::fromRouteMatch('home', 'HelloWorld', []));
     $result = $this->extension->getCurrentRouteResult();
     $this->assertInstanceOf(RouteResult::class, $result);
 }
 public function testGetCurrentRouteName()
 {
     $this->routeAssemblerProphezy->getCurrentRouteResult()->willReturn(RouteResult::fromRouteMatch('foo', '', []));
     $this->assertEquals('foo', $this->extension->getCurrentRouteName());
 }