You are here

public function TestBaseTest::testAssertNotIdentical in SimpleTest 8.3

@covers ::assertNotIdentical @dataProvider providerEqualityAssertions

File

tests/src/Unit/TestBaseTest.php, line 337

Class

TestBaseTest
@requires extension curl @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest @group TestBase

Namespace

Drupal\Tests\simpletest\Unit

Code

public function testAssertNotIdentical($expected_identical, $expected_equal, $first, $second) {
  $test_base = $this
    ->getTestBaseForAssertionTests('test_id');
  $this
    ->assertEquals(!$expected_identical, $this
    ->invokeProtectedMethod($test_base, 'assertNotIdentical', [
    $first,
    $second,
  ]));
}