/**
  * Generic test for findOneBy method.
  */
 public function testFindOneBy()
 {
     return;
     $modelId = $this->_model->insert($this->_getData());
     $this->assertFalse(null === $modelId);
     if (is_array($modelId)) {
         $this->_data = call_user_func_array(array($this->_model, 'find'), array_values($modelId))->current()->toArray();
     } else {
         $this->_data = $this->_model->find($modelId)->current()->toArray();
     }
     foreach ($this->_getData() as $key => $value) {
         if (null === $value) {
             continue;
         }
         $method = 'findOneBy' . Centurion_Inflector::classify($key);
         $modelRow = $this->_model->{$method}($value);
         $this->assertEquals($this->_getData(), $modelRow->toArray(), sprintf('Method %s of %s object doesn\'t return the expected values', $method, get_class($this->_model)));
     }
 }