public function testIGoToThePageShouldCorrectlySubstitutesPageName()
 {
     $this->setSessionExpectation();
     $this->session->expects($this->once())->method('visit')->with("/user")->will($this->returnValue(null));
     $this->context->iGoToThePage('User Home Page');
 }
 public function testIGoToPageShouldThrowExceptionOnNonExistentPage()
 {
     $this->setSessionExpectation(false);
     $this->setExpectedException('\\RuntimeException');
     $this->context->iGoToThePage('User Home');
 }