@trigger_error('The '.__NAMESPACE__.'\ToolkitTestBase class is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. . There is no replacement provided as functional test base class because toolkit operations should be tested as kernel tests. \Drupal\KernelTests\Core\Image\ToolkitTestTrait trait has been added to provide a similar functionality for toolkit kernel tests. See https://www.drupal.org/node/3035573.',E_USER_DEPRECATED);
useDrupal\Component\Render\FormattableMarkup;
useDrupal\Tests\BrowserTestBase;
useDrupal\Tests\TestFileCreationTrait;
/**
* Base class for image manipulation testing.
*
* @deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. There is
* no replacement provided as functional test base class because toolkit
* operations should be tested as kernel tests. ToolkitTestTrait trait has
* been added to provide a similar functionality for toolkit kernel tests.
// Determine if there were any expected that were not called.
$uncalled=array_diff($expected,$actual);
if(count($uncalled)){
$this->assertTrue(FALSE,newFormattableMarkup('Expected operations %expected to be called but %uncalled was not called.',['%expected'=>implode(', ',$expected),'%uncalled'=>implode(', ',$uncalled)]));
}
else{
$this->assertTrue(TRUE,newFormattableMarkup('All the expected operations were called: %expected',['%expected'=>implode(', ',$expected)]));
}
// Determine if there were any unexpected calls.
// If all unexpected calls are operations and apply was expected, we do not