'Using assert[Not]Equals() to compare markup between MarkupInterface objects and plain strings is deprecated in drupal:10.1.0 and will throw an error from drupal:11.0.0. Expected: \'<em class="placeholder">For Your Eyes</em> Only\' - Actual \'<em class="placeholder">For Your Eyes</em> Too\'. Use assert[Not]Same() and cast objects to string instead. See https://www.drupal.org/node/3334057',
],
];
} /**
* @covers ::accepts
* @dataProvider dataSetProvider
*/
public function testAccepts($expected,
$actual, bool
$accepts_result,
$equals_result): void
{ if ($accepts_result) { $this->
assertTrue($this->comparator->
accepts($expected,
$actual));
} else { $this->
assertFalse($this->comparator->
accepts($expected,
$actual));
} } /**
* @covers ::assertEquals
* @dataProvider dataSetProvider
*/
public function testAssertEquals($expected,
$actual, bool
$accepts_result,
$equals_result): void
{