public function testTheFormFieldShouldNotContainShouldThrowExceptionIfElementNotFound() { $this->setSessionExpectation(true); $this->setFindExpectationWithNoElementFoundException('input[name=first_name]'); $this->context->theFormFieldShouldNotContain('User Name', "Test Value"); }
public function testTheFormFieldShouldNotContainShouldThrowExceptionOnNonExistentSelector() { $this->setSessionExpectation(false); $this->setExpectedException('\\RuntimeException'); $this->context->theFormFieldShouldNotContain('say what', 'value'); }