Drupal 8  8.0.2
CollectRoutesTest Class Reference
Inheritance diagram for CollectRoutesTest:

Public Member Functions

 testRoutesRequirements ()
 
- 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

 $restExport
 
 $routes
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Tests the REST export view plugin.

rest

Member Function Documentation

setUp ( )
protected

{}

References RestExport\create(), and Drupal\setContainer().

Here is the call graph for this function:

testRoutesRequirements ( )

Tests if adding a requirement to a route only modify one route.

Field Documentation

$routes
protected

The RouteCollection.


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