コード例 #1
0
 /**
  * @Given /^I want to edit (this locale)$/
  */
 public function iWantToEditThisLocale(LocaleInterface $locale)
 {
     $this->updatePage->open(['id' => $locale->getId()]);
 }
コード例 #2
0
 function it_opens_locale_update_page(UpdatePageInterface $updatePage, LocaleInterface $locale)
 {
     $locale->getId()->willReturn(1);
     $updatePage->open(['id' => 1])->shouldBeCalled();
     $this->iWantToEditThisLocale($locale);
 }