/** @test */ public function it_can_be_cleared_from_indices() { $this->dummyAlgoliaManager->shouldReceive('clearIndices')->once()->with(DummyActiveRecordModel::class)->andReturn('response'); $response = DummyActiveRecordModel::clearIndices(); $this->assertEquals('response', $response); }