public function testCreate()
 {
     $balls = new Basket\Repository\BasketBallsRepository();
     $balls->addBall(new Balls\Entity\Ball(1));
     $balls->addBall(new Balls\Entity\Ball(2));
     return new ExactlyOneBallCriteria($balls);
 }
 /**
  * @depends testCreate
  */
 public function testAddBall(BasketBallsRepository $repository)
 {
     $ball = new Ball(1);
     $repository->addBall($ball);
     $this->assertEquals(1, $repository->count());
     return $repository;
 }