You are here

trait AssertHelperTrait in Drupal 8

Same name in this branch
  1. 8 core/tests/Drupal/Tests/AssertHelperTrait.php \Drupal\Tests\AssertHelperTrait
  2. 8 core/modules/simpletest/src/AssertHelperTrait.php \Drupal\simpletest\AssertHelperTrait

Provides helper methods for assertions.

Hierarchy

Deprecated

in drupal:8.4.0 and is removed from drupal:9.0.0. Use Drupal\Tests\AssertHelperTrait instead.

See also

https://www.drupal.org/node/2884454

File

core/modules/simpletest/src/AssertHelperTrait.php, line 17

Namespace

Drupal\simpletest
View source
trait AssertHelperTrait {
  use BaseAssertHelperTrait;

}

Members

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