public function testCreateConfig() { $entityConfig = $this->configProvider->createConfig(new EntityConfigId(DemoEntity::ENTITY_NAME, 'testScope'), array('first' => 'test')); $this->entityConfig->set('first', 'test'); $this->assertEquals($this->entityConfig, $entityConfig); $fieldConfig = $this->configProvider->createConfig(new FieldConfigId(DemoEntity::ENTITY_NAME, 'testScope', 'testField', 'string'), array('first' => 'test')); $this->fieldConfig->set('first', 'test'); $this->assertEquals($this->fieldConfig, $fieldConfig); }