public function testCreate() { $repository = new BasketRepository(); $this->assertInstanceOf(\ArrayIterator::class, $repository->getIterator()); return $repository; }