You are here

class ConfigurationItemTest in Features 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/ConfigurationItemTest.php \Drupal\Tests\features\Unit\ConfigurationItemTest

@coversDefaultClass \Drupal\features\ConfigurationItem @group features

Hierarchy

Expanded class hierarchy of ConfigurationItemTest

File

tests/src/Unit/ConfigurationItemTest.php, line 13

Namespace

Drupal\Tests\features\Unit
View 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

Namesort descending Modifiers Type Description Overrides
ConfigurationItemTest::testFromConfigStringToConfigType public function @covers ::fromConfigStringToConfigType