You are here

public function NamedSelectorTest::testInvalidLocator in Zircon Profile 8.0

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

@expectedException \InvalidArgumentException

File

vendor/behat/mink/tests/Selector/NamedSelectorTest.php, line 25

Class

NamedSelectorTest

Namespace

Behat\Mink\Tests\Selector

Code

public function testInvalidLocator() {
  $namedSelector = $this
    ->getSelector();
  $namedSelector
    ->translateToXPath(array(
    'foo',
    'bar',
    'baz',
  ));
}