/** * @Given I want to create a new locale * @Given I want to add a new locale */ public function iWantToCreateNewLocale() { $this->createPage->open(); }
function it_opens_locale_creation_page(CreatePageInterface $createPage) { $createPage->open()->shouldBeCalled(); $this->iWantToCreateNewLocale(); }