// Get result back
$resultInstance = $wrapperInstance->doSelectByCriteria($criteriaInstance);
+ // Advanced to next entry
+ if (!$resultInstance->next()) {
+ // Not valid!
+ assert(false);
+ } // END - if
+
// Set the result instance
$this->setResultInstance($resultInstance);
}