You are here

public function AssertHelperTestClass::testMethod in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/AssertHelperTraitTest.php \Drupal\Tests\AssertHelperTestClass::testMethod()

File

core/tests/fixtures/AssertHelperTestClass.php, line 15

Class

AssertHelperTestClass
A helper class for deprecation of AssertHelperTrait.

Namespace

Drupal\Tests

Code

public function testMethod($value) {
  return $this
    ->castSafeStrings($value);
}