function GetTestMethodCallerExtendsTest::testGetTestMethodCallerChildClass
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php \Drupal\FunctionalTests\GetTestMethodCallerExtendsTest::testGetTestMethodCallerChildClass()
- 10 core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php \Drupal\FunctionalTests\GetTestMethodCallerExtendsTest::testGetTestMethodCallerChildClass()
- 11.x core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php \Drupal\FunctionalTests\GetTestMethodCallerExtendsTest::testGetTestMethodCallerChildClass()
A test method that is not present in the parent class.
File
-
core/
tests/ Drupal/ FunctionalTests/ GetTestMethodCallerExtendsTest.php, line 22
Class
- GetTestMethodCallerExtendsTest
- Test for BrowserTestBase::getTestMethodCaller() in child classes.
Namespace
Drupal\FunctionalTestsCode
public function testGetTestMethodCallerChildClass() {
$method_caller = $this->getTestMethodCaller();
$expected = [
'file' => __FILE__,
'line' => 23,
'function' => __CLASS__ . '->' . __FUNCTION__ . '()',
'class' => BrowserTestBase::class,
'object' => $this,
'type' => '->',
'args' => [],
];
$this->assertEquals($expected, $method_caller);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.