Drupal 8  8.0.2
EntityNormalizerTest Class Reference
Inheritance diagram for EntityNormalizerTest:

Public Member Functions

 testNormalize ()
 
 testDenormalizeWithNoEntityType ()
 
 testDenormalizeWithValidBundle ()
 
 testDenormalizeWithInvalidBundle ()
 
 testDenormalizeWithNoBundle ()
 
- 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
 
 $serializer
 
 $entityNormalizer
 
- 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:

testDenormalizeWithInvalidBundle ( )

Tests the denormalize method with a bundle property.

::denormalize

References Drupal\entityManager().

Here is the call graph for this function:

testDenormalizeWithNoBundle ( )

Tests the denormalize method with no bundle defined.

::denormalize

References Drupal\entityManager().

Here is the call graph for this function:

testDenormalizeWithNoEntityType ( )

Tests the denormalize() method with no entity type provided in context.

::denormalize

testDenormalizeWithValidBundle ( )

Tests the denormalize method with a bundle property.

::denormalize

References Drupal\entityManager().

Here is the call graph for this function:

testNormalize ( )

Tests the normalize() method.

::normalize


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