public function testClear() { $this->assertOperationIsCorrect(function (IRepository $repository) { $repository->clear(); }, $this->clearQuery()); }