You are here

public function ElementNotFoundExceptionTest::provideExceptionMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/tests/Exception/ElementNotFoundExceptionTest.php \Behat\Mink\Tests\Exception\ElementNotFoundExceptionTest::provideExceptionMessage()

File

vendor/behat/mink/tests/Exception/ElementNotFoundExceptionTest.php, line 21

Class

ElementNotFoundExceptionTest

Namespace

Behat\Mink\Tests\Exception

Code

public function provideExceptionMessage() {
  return array(
    array(
      'Tag not found.',
      null,
    ),
    array(
      'Field not found.',
      'field',
    ),
    array(
      'Tag matching locator "foobar" not found.',
      null,
      null,
      'foobar',
    ),
    array(
      'Tag matching css "foobar" not found.',
      null,
      'css',
      'foobar',
    ),
    array(
      'Field matching xpath "foobar" not found.',
      'Field',
      'xpath',
      'foobar',
    ),
    array(
      'Tag with name "foobar" not found.',
      null,
      'name',
      'foobar',
    ),
  );
}