function it_opens_country_create_page(CreatePageInterface $countryCreatePage) { $countryCreatePage->open()->shouldBeCalled(); $this->iWantToCreateNewCountry(); }
/** * @When I want to add a new country */ public function iWantToAddNewCountry() { $this->createPage->open(); }
/** * @Given I want to create new country */ public function iWantToCreateNewCountry() { $this->countryCreatePage->open(); }