You are here

public function ManipulatorTest::testPrepend in Zircon Profile 8.0

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

@dataProvider getPrependedXpath

File

vendor/behat/mink/tests/Selector/Xpath/ManipulatorTest.php, line 12

Class

ManipulatorTest

Namespace

Behat\Mink\Tests\Selector\Xpath

Code

public function testPrepend($prefix, $xpath, $expectedXpath) {
  $manipulator = new Manipulator();
  $this
    ->assertEquals($expectedXpath, $manipulator
    ->prepend($xpath, $prefix));
}