public static function YamlParserProxy::setMock in Drupal 10
Same name in this branch
- 10 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::setMock()
- 10 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::setMock()
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::setMock()
- 9 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::setMock()
1 call to YamlParserProxy::setMock()
- YamlTest::testGetSerialization in core/
tests/ Drupal/ Tests/ Core/ Serialization/ YamlTest.php - Tests that the overridden serializer is called.
File
- core/
tests/ Drupal/ Tests/ Core/ Serialization/ YamlTest.php, line 48
Class
Namespace
Drupal\Tests\Core\SerializationCode
public static function setMock($mock) {
static::$mock = $mock;
}