You are here

public function SelectorsHandlerTest::testBcLayer 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::testBcLayer()

@group legacy

File

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

Class

SelectorsHandlerTest

Namespace

Behat\Mink\Tests\Selector

Code

public function testBcLayer() {
  $selector = $this
    ->getMockBuilder('Behat\\Mink\\Selector\\SelectorInterface')
    ->getMock();
  $handler = new SelectorsHandler();
  $handler
    ->registerSelector('named_partial', $selector);
  $this
    ->assertSame($selector, $handler
    ->getSelector('named'));
}