app = $this->prophesize(Application::class); $this->appbox = $this->prophesize(\appbox::class); $this->sut = new DataboxRepository($this->app->reveal(), $this->appbox->reveal()); } public function testItImplementsDataboxRepositoryInterface() { $this->assertInstanceOf(DataboxRepositoryInterface::class, $this->sut); } }