示例#1
0
 /**
  * Tests that an exception is thrown when trying to use an empty ID for lookup.
  *
  * @expectedException \InvalidArgumentException
  */
 public function testFindByEmptyId()
 {
     $this->repository->findOneById('');
 }