2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$this->assertFalse($entity_manager->hasController('non_existent','controller_class'),'A non existent entity type has no controller.');
$this->assertFalse($entity_manager->hasController('non_existent','non_existent_controller_class'),'A non existent entity type has no controller.');
$this->assertFalse($entity_manager->hasController('entity_test','non_existent_controller_class'),'An existent entity type does not have a non existent controller.');
$this->assertFalse($entity_manager->hasController('entity_test','render_controller_class'),'The test entity does not have specified the render controller.');
$this->assertTrue($entity_manager->hasController('entity_test','controller_class'),'The test entity has specified the controller class');