public function ElementNotFoundExceptionTest::testBuildMessage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Exception/ElementNotFoundExceptionTest.php \Behat\Mink\Tests\Exception\ElementNotFoundExceptionTest::testBuildMessage()
@dataProvider provideExceptionMessage
File
- vendor/
behat/ mink/ tests/ Exception/ ElementNotFoundExceptionTest.php, line 12
Class
Namespace
Behat\Mink\Tests\ExceptionCode
public function testBuildMessage($message, $type, $selector = null, $locator = null) {
$driver = $this
->getMock('Behat\\Mink\\Driver\\DriverInterface');
$exception = new ElementNotFoundException($driver, $type, $selector, $locator);
$this
->assertEquals($message, $exception
->getMessage());
}