public function RabbitHoleBehaviorSettingsTest::testLoadNullEditable in Rabbit Hole 8
Same name and namespace in other branches
- 2.x tests/src/Functional/RabbitHoleBehaviorSettingsTest.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsTest::testLoadNullEditable()
Test loading editable for nonexistent behavior settings returns NULL.
File
- tests/
src/ Functional/ RabbitHoleBehaviorSettingsTest.php, line 123
Class
- RabbitHoleBehaviorSettingsTest
- Test the RabbitHoleBehaviorSettings configuration entity functionality.
Namespace
Drupal\Tests\rabbit_hole\FunctionalCode
public function testLoadNullEditable() {
$editable = $this->behaviorSettingsManager
->loadBehaviorSettingsAsEditableConfig(self::DEFAULT_TEST_ENTITY, '6b92ed36-f17f-4799-97d0-ae1801ed37ff');
$this
->assertNull($editable);
}