objectManager = $this->prophesize(ObjectManagerInterface::class)->reveal(); $this->subject = new TeaRepository($this->objectManager); } /** * @test */ public function isRepository(): void { self::assertInstanceOf(Repository::class, $this->subject); } }