public function TestBaseTest::testAssertIdentical in Drupal 8
@covers ::assertIdentical @dataProvider providerEqualityAssertions
File
- core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php, line 325
Class
- TestBaseTest
- @requires extension curl @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest @group TestBase
Namespace
Drupal\Tests\simpletest\UnitCode
public function testAssertIdentical($expected_identical, $expected_equal, $first, $second) {
$test_base = $this
->getTestBaseForAssertionTests('test_id');
$this
->assertEquals($expected_identical, $this
->invokeProtectedMethod($test_base, 'assertIdentical', [
$first,
$second,
]));
}