/** * @When I save my changes * @When I try to save changes */ public function iSaveMyChanges() { $this->updatePage->saveChanges(); }
function it_saves_changes(UpdatePageInterface $countryUpdatePage) { $countryUpdatePage->saveChanges()->shouldBeCalled(); $this->iSaveMyChanges(); }