@@ -195,6 +201,7 @@ protected function getBlockMockWithMachineName($machine_name) {
$block->expects($this->any())
->method('getPlugin')
->will($this->returnValue($plugin));
@trigger_error(__METHOD__.' is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies on extensions. Set up mocks in individual tests.',E_USER_DEPRECATED);
* @expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies on extensions. Set up mocks in individual tests.