You are here

class AssertHelperTestClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php \Drupal\Tests\simpletest\Unit\AssertHelperTestClass

Hierarchy

Expanded class hierarchy of AssertHelperTestClass

File

core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php, line 41
Contains \Drupal\Tests\simpletest\Unit\AssertHelperTraitTest.

Namespace

Drupal\Tests\simpletest\Unit
View source
class AssertHelperTestClass {
  use AssertHelperTrait;
  public function testMethod($value) {
    return $this
      ->castSafeStrings($value);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AssertHelperTestClass::testMethod public function
AssertHelperTrait::castSafeStrings protected function Casts MarkupInterface objects into strings.