/** * {@inheritdoc} * * @covers ::setEntityManager * @covers ::setTypedConfig */ public function setUp() { $this->entityManager = $this->getMock(EntityManagerInterface::class); $this->entityTypeId = $this->randomMachineName(); $this->typedConfigManager = $this->getMock(TypedConfigManagerInterface::class); $this->sut = new PaymentStatus([], $this->entityTypeId); $this->sut->setEntityManager($this->entityManager); $this->sut->setTypedConfig($this->typedConfigManager); }