function AssertHelperTraitTest::testCastSafeStrings
@covers ::castSafeStrings
@dataProvider providerCastSafeStrings
File
-
core/
tests/ Drupal/ Tests/ AssertHelperTraitTest.php, line 18
Class
- AssertHelperTraitTest
- @coversDefaultClass \Drupal\Tests\AssertHelperTrait[[api-linebreak]] @group simpletest @group Tests
Namespace
Drupal\TestsCode
public function testCastSafeStrings($expected, $value) {
$class = new AssertHelperTestClass();
$this->assertSame($expected, $class->testMethod($value));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.