Drupal 8  8.0.2
UuidResolverTest Class Reference
Inheritance diagram for UuidResolverTest:

Public Member Functions

 testResolveNotInInterface ()
 
 testResolveNoUuid ()
 
 testResolveNoEntity ()
 
 testResolveWithEntity ()
 
- 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

 $resolver
 
 $entityManager
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

serialization

Member Function Documentation

setUp ( )
protected

{}

References Drupal\entityManager().

Here is the call graph for this function:

testResolveNoEntity ( )

Test resolve() with correct interface but no matching entity for the UUID.

References Drupal\entityManager().

Here is the call graph for this function:

testResolveNotInInterface ( )

Test resolve() with a class using the incorrect interface.

References Drupal\entityManager().

Here is the call graph for this function:

testResolveNoUuid ( )

Test resolve() with a class using the correct interface but no UUID.

References Drupal\entityManager().

Here is the call graph for this function:

testResolveWithEntity ( )

Test resolve() when a UUID corresponds to an entity.

References Drupal\entityManager().

Here is the call graph for this function:


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