You are here

public function SelectorsHandlerTest::testXpathSelectorThrowsExceptionForArrayLocator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/tests/Selector/SelectorsHandlerTest.php \Behat\Mink\Tests\Selector\SelectorsHandlerTest::testXpathSelectorThrowsExceptionForArrayLocator()

@expectedException \InvalidArgumentException

File

vendor/behat/mink/tests/Selector/SelectorsHandlerTest.php, line 43

Class

SelectorsHandlerTest

Namespace

Behat\Mink\Tests\Selector

Code

public function testXpathSelectorThrowsExceptionForArrayLocator() {
  $handler = new SelectorsHandler();
  $handler
    ->selectorToXpath('xpath', array(
    'some_xpath',
  ));
}