public function findOneById($id)
 {
     $ayat = null;
     if (is_string($id)) {
         $id = new AyatId($id);
     }
     if ($id instanceof AyatId) {
         $split = AyatId::splitValue((string) $id);
         if (isset($this->data[$split['surat_number']][$split['ayat_number']])) {
             return $this->data[$split['surat_number']][$split['ayat_number']];
         }
     }
     return $ayat;
 }
 public function testSplitValueReturnArray()
 {
     $id = '2:255';
     $expected = array('surat_number' => 2, 'ayat_number' => 255);
     $this->assertEquals($expected, AyatId::splitValue($id));
 }