public function testDelete() { $repository = new TestRepository(); $repository->delete($this->count); $this->count--; $this->assertTrue($repository->count() == $this->count); $repository->delete([8, 9]); $this->count -= 2; $this->assertTrue($repository->count() == $this->count); }