public function it_can_add_a_route(Route $route) { $route->beADoubleOf(Route::class); $this->addRoute($route); $this->getRoutes()->shouldContain($route); }