shouldHaveType(FrequentlyAskedQuestionTranslation::class); } function it_is_a_resource() { $this->shouldHaveType(ResourceInterface::class); } function it_implements_frequently_asked_question_translation_interface() { $this->shouldHaveType(FrequentlyAskedQuestionTranslationInterface::class); $this->shouldHaveType(TranslationInterface::class); } function it_allows_access_via_properties() { $this->setQuestion('What are the delivery charges for orders from the Online Shop?'); $this->getQuestion()->shouldReturn('What are the delivery charges for orders from the Online Shop?'); $this->setAnswer('$20'); $this->getAnswer()->shouldReturn('$20'); } }