@@ -136,4 +142,22 @@ public function testEntityCountAndHasData() {
$this->assertEqual(count($entity->{$this->fieldTestData->field_name_2}),$cardinality,format_string('Revision %revision_id: expected number of values.',array('%revision_id'=>$first_revision)));
}
/**
* Verify that we can count a table that contains an entry with index 0.
*/
publicfunctiontestCountWithIndex0(){
// Create an entry for the anonymous user, who has user ID 0.