public function FeaturesBundleIntegrationTest::testIsDefaultWithNonDefaultBundle in Features 8.3
Same name and namespace in other branches
- 8.4 tests/src/Kernel/Entity/FeaturesBundleIntegrationTest.php \Drupal\Tests\features\Kernel\Entity\FeaturesBundleIntegrationTest::testIsDefaultWithNonDefaultBundle()
@covers ::isDefault
File
- tests/
src/ Kernel/ Entity/ FeaturesBundleIntegrationTest.php, line 49
Class
- FeaturesBundleIntegrationTest
- @coversDefaultClass \Drupal\features\Entity\FeaturesBundle @group features
Namespace
Drupal\Tests\features\Kernel\EntityCode
public function testIsDefaultWithNonDefaultBundle() {
$bundle = FeaturesBundle::create([
'machine_name' => 'other',
]);
$this
->assertFalse($bundle
->isDefault());
}