private function _check(WithEmbeddedArrayI18NModel $model, $data)
 {
     foreach ($data as $i => $field) {
         foreach ($field as $code => $title) {
             $msg = sprintf("When model key is `%d` and language is `%s`", $i, $code);
             $model->setLang($code);
             $this->assertSame($title, $model->pages[$i]->title, $msg);
         }
     }
 }