function BookTest::testDeprecatedPlugin

@expectedDeprecation Book is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.x. Use \Drupal\book\Plugin\migrate\source\Book instead. See https://www.drupal.org/node/2947487 for more information. @doesNotPerformAssertions

File

core/modules/book/tests/src/Kernel/Plugin/migrate/source/BookTest.php, line 90

Class

BookTest
@covers \Drupal\book\Plugin\migrate\source\Book @group book @group legacy

Namespace

Drupal\Tests\book\Kernel\Plugin\migrate\source

Code

public function testDeprecatedPlugin() {
    new D6Book([], 'd6_book', [], $this->prophesize('Drupal\\migrate\\Plugin\\MigrationInterface')
        ->reveal(), $this->prophesize('Drupal\\Core\\State\\StateInterface')
        ->reveal(), $this->prophesize('Drupal\\Core\\Entity\\EntityManagerInterface')
        ->reveal());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.