protected function UuidResolverTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php \Drupal\Tests\serialization\Unit\EntityResolver\UuidResolverTest::setUp()
- 9 core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php \Drupal\Tests\serialization\Unit\EntityResolver\UuidResolverTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ serialization/ tests/ src/ Unit/ EntityResolver/ UuidResolverTest.php, line 32
Class
- UuidResolverTest
- @coversDefaultClass \Drupal\serialization\EntityResolver\UuidResolver @group serialization
Namespace
Drupal\Tests\serialization\Unit\EntityResolverCode
protected function setUp() : void {
$this->entityRepository = $this
->createMock(EntityRepositoryInterface::class);
$this->resolver = new UuidResolver($this->entityRepository);
}