Drupal 8  8.0.2
BookManagerTest Class Reference
Inheritance diagram for BookManagerTest:

Public Member Functions

 testGetBookParents ($book, $parent, $expected)
 
 providerTestGetBookParents ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $entityManager
 
 $configFactory
 
 $translation
 
 $renderer
 
 $bookManager
 
 $bookOutlineStorage
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

book

Member Function Documentation

providerTestGetBookParents ( )

Provides test data for testGetBookParents.

Returns
array The test data.
setUp ( )
protected

{}

References Drupal\configFactory(), Drupal\entityManager(), UnitTestCase\getConfigFactoryStub(), UnitTestCase\getStringTranslationStub(), and Drupal\translation().

Here is the call graph for this function:

testGetBookParents (   $book,
  $parent,
  $expected 
)

Tests the getBookParents() method.

providerTestGetBookParents


The documentation for this class was generated from the following file: