public property MockSerializer::$testClass in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php \Drupal\Tests\config_entity_revisions\Unit\MockSerializer::testClass
- 1.x tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php \Drupal\Tests\config_entity_revisions\Unit\MockSerializer::testClass
Type: ConfigEntityRevisionsRevertFormBaseTest
File
- tests/
src/ Unit/ ConfigEntityRevisionsRevertFormBaseTest.php, line 655
Class
- MockSerializer
- The serializer (sic) we'd normally mock above has deserialize as a final method. Instead of using it, define our own class here.
Namespace
Drupal\Tests\config_entity_revisions\UnitCode
public $testClass = NULL;