/** * @covers ::getAddPageRoute * @dataProvider providerTestGetAddPageRoute */ public function testGetAddPageRoute(Route $expected = NULL, EntityTypeInterface $entity_type) { $route = $this->routeProvider->getAddPageRoute($entity_type); $this->assertEquals($expected, $route); }