public function testAdd() { $this->assertOperationIsCorrect(function (IRepository $repository) { $repository[] = null; }, $this->addQuery()); }