public function tessIAdditionallySelectFromTheSelectorShouldThrowExceptionIfElementNotFound() { $this->setSessionExpectation(true); $this->setFindExpectationWithNoElementFoundException('select'); $this->context->iAdditionallySelectFromTheSelector('Volvo', 'User Car'); }
public function tessIAdditionallySelectFromTheSelectorShouldThrowExceptionOnNonExistentSelector() { $this->setSessionExpectation(false); $this->setExpectedException('\\RuntimeException'); $this->context->iAdditionallySelectFromTheSelector('value', 'does not exist'); }