You are here

public function BestPracticesTest::testImplementBasicApi in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/driver-testsuite/tests/Basic/BestPracticesTest.php \Behat\Mink\Tests\Driver\Basic\BestPracticesTest::testImplementBasicApi()

@dataProvider provideRequiredMethods

File

vendor/behat/mink/driver-testsuite/tests/Basic/BestPracticesTest.php, line 36

Class

BestPracticesTest
This testcase ensures that the driver implementation follows recommended practices for drivers.

Namespace

Behat\Mink\Tests\Driver\Basic

Code

public function testImplementBasicApi($method) {
  $driver = $this
    ->createDriver();
  $this
    ->assertImplementMethod($method, $driver, 'The driver is unusable when this method is not implemented.');
}