/**
* Tests applying single updates.
*/
public function testSingleActionCalls() { $db_schema =
$this->database->
schema();
// Ensure that a non-existing entity type cannot be installed.
$message = 'A non-existing entity type cannot be installed';
try { $this->entityDefinitionUpdateManager->
installEntityType(new ContentEntityType(['id' => 'foo'
]));
$this->
fail($message);
} catch (PluginNotFoundException
$e) { // Expected exception; just continue testing.
} // Ensure that a field cannot be installed on non-existing entity type.
$message = 'A field cannot be installed on a non-existing entity type';
try { $storage_definition = BaseFieldDefinition::
create('string'
) ->
setLabel(t('A new revisionable base field'
))