$this->assertEquals('The A new bundle field field needs to be updated.',strip_tags((string)$changes['entity_test_update'][0]));
$this->applyEntityUpdates();
$this->assertTrue($this->database->schema()->fieldExists('entity_test_update__new_bundle_field','new_bundle_field_format'),'Format column created in dedicated table for new_base_field.');
// Remove the bundle field, ensure the update manager reports it, and the
// update deletes the schema.
$this->removeBundleField();
$this->assertTrue($this->entityDefinitionUpdateManager->needsUpdates(),'EntityDefinitionUpdateManager reports that updates are needed.');
$this->assertTrue($schema_handler->tableExists($dedicated_deleted_table_name),'The dedicated table of the bundle fields has been renamed to use the "deleted" name.');
// Check that the deleted field's data is preserved in the dedicated
$this->assertArrayHasKey($storage_definition->getUniqueStorageIdentifier(),$deleted_storage_definitions,'The bundle field storage is marked for purging.');
// Purge field data, and check that the storage definition has been