shouldHaveType(ResourceInterface::class); } function it_is_a_resource(): void { $this->shouldHaveType(ResourceInterface::class); } function it_implements_block_translation_interface(): void { $this->shouldHaveType(BlockTranslationInterface::class); $this->shouldHaveType(TranslationInterface::class); } function it_allows_access_via_properties(): void { $this->setName('Escobar favorite quote'); $this->getName()->shouldReturn('Escobar favorite quote'); $this->setLink('https://en.wikipedia.org/wiki/Pablo_Escobar'); $this->getLink()->shouldReturn('https://en.wikipedia.org/wiki/Pablo_Escobar'); $this->setContent('Plata o plomo'); $this->getContent()->shouldReturn('Plata o plomo'); } }