6 calls to BookTestTrait::createBookNode()

BookTest::testBook in core/modules/book/tests/src/Functional/BookTest.php
Tests book functionality through node interfaces.
BookTest::testBookOutline in core/modules/book/tests/src/Functional/BookTest.php
Tests outline of a book.
BookTest::testEmptyBook in core/modules/book/tests/src/Functional/BookTest.php
Tests saving the book outline on an empty book.
BookTest::testGetTableOfContents in core/modules/book/tests/src/Functional/BookTest.php
Tests BookManager::getTableOfContents().
BookTest::testHookNodeLoadAccess in core/modules/book/tests/src/Functional/BookTest.php
Ensure the loaded book in hook_node_load() does not depend on the user.
BookTestTrait::createBook in core/modules/book/tests/src/Functional/BookTestTrait.php
Creates a new book with a page hierarchy.

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