protected function setUp() : void {
parent::setUp();
$logger_channel = $this
->createMock('Drupal\\Core\\Logger\\LoggerChannelInterface');
$logger_factory = $this
->getMockBuilder('Drupal\\Core\\Logger\\LoggerChannelFactory')
->getMock();
$logger_factory
->expects($this
->atLeastOnce())
->method('get')
->with('paragraphs')
->will($this
->returnValue($logger_channel));
$this->paragraphsMigrationPluginsAlterer = new MigrationPluginsAlterer($logger_factory);
}