class ConfigurationItemTest in Features 8.3
Same name and namespace in other branches
- 8.4 tests/src/Unit/ConfigurationItemTest.php \Drupal\Tests\features\Unit\ConfigurationItemTest
@coversDefaultClass \Drupal\features\ConfigurationItem @group features
Hierarchy
- class \Drupal\Tests\features\Unit\ConfigurationItemTest extends \PHPUnit\Framework\TestCase
Expanded class hierarchy of ConfigurationItemTest
File
- tests/
src/ Unit/ ConfigurationItemTest.php, line 13
Namespace
Drupal\Tests\features\UnitView source
class ConfigurationItemTest extends TestCase {
/**
* @covers ::fromConfigStringToConfigType
*/
public function testFromConfigStringToConfigType() {
$this
->assertEquals('system.simple', ConfigurationItem::fromConfigStringToConfigType(FeaturesManagerInterface::SYSTEM_SIMPLE_CONFIG));
$this
->assertEquals('node', ConfigurationItem::fromConfigStringToConfigType('node'));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurationItemTest:: |
public | function | @covers ::fromConfigStringToConfigType |