/** * @param GroupTypeInterface $groupType * * @Given /^I should be on the ("([^"]*)" group type) page$/ */ public function iShouldBeOnTheGroupTypePage(GroupTypeInterface $groupType) { $expectedAddress = $this->getPage('GroupType edit')->getUrl(['id' => $groupType->getId()]); $this->assertAddress($expectedAddress); }