public function testIShouldSeeComponentShouldThrowExceptionIfElementNotFound()
 {
     $this->setSessionExpectation(true);
     $this->setFindExpectationWithNoElementFoundException('div.main');
     $this->context->iShouldSeeComponent('Container');
 }
 public function testIShouldSeeComponentShouldThrowExceptionOnNonExistentSelector()
 {
     $this->setSessionExpectation(false);
     $this->setExpectedException('\\RuntimeException');
     $this->context->iShouldSeeComponent('whos dog?');
 }