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