protected function setUp()
 {
     parent::setUp();
     // Module uninstall requires the router and users_data tables.
     // @see drupal_flush_all_caches()
     // @see user_modules_uninstalled()
     $this->installSchema('user', array('users_data'));
 }
 protected function setUp()
 {
     parent::setUp();
     // Create a field and storage of type 'test_field', on the 'entity_test'
     // entity type.
     $this->entityType = 'entity_test';
     $this->bundle = 'entity_test';
     $this->createFieldWithStorage('', $this->entityType, $this->bundle);
     // Create an 'entity_test' entity.
     $this->entity = entity_create($this->entityType, array('type' => $this->bundle));
 }