You are here

public function CssSelectorTest::testThrowsForArrayLocator in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/tests/Selector/CssSelectorTest.php \Behat\Mink\Tests\Selector\CssSelectorTest::testThrowsForArrayLocator()

@expectedException \InvalidArgumentException

File

vendor/behat/mink/tests/Selector/CssSelectorTest.php, line 35

Class

CssSelectorTest

Namespace

Behat\Mink\Tests\Selector

Code

public function testThrowsForArrayLocator() {
  $selector = new CssSelector();
  $selector
    ->translateToXPath(array(
    'h3',
  ));
}