public function NodeElementTest::testHasClassWithoutArgument in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Element/NodeElementTest.php \Behat\Mink\Tests\Element\NodeElementTest::testHasClassWithoutArgument()
File
- vendor/
behat/ mink/ tests/ Element/ NodeElementTest.php, line 168
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testHasClassWithoutArgument() {
$node = new NodeElement('input_tag', $this->session);
$this->driver
->expects($this
->once())
->method('getAttribute')
->with('input_tag', 'class')
->will($this
->returnValue(null));
$this
->assertFalse($node
->hasClass('class3'));
}