Example #1
0
 /**
  * @test
  */
 public function getIdentifierTest()
 {
     $this->assertEquals('property1', $this->fixture->getIdentifier());
 }
Example #2
0
 /**
  * Returns a new Configuration instance with the given data
  *
  * @param array $configurationData
  * @return ConfigurationInterface Returns the Configuration object or NULL if no matching configuration was found
  */
 protected function _createWithConfigurationData($configurationData)
 {
     $configurationObject = new Configuration(self::preparePropertyMapping($configurationData));
     if (isset($configurationData['skipUnknownProperties'])) {
         $configurationObject->setSkipUnknownProperties((bool) $configurationData['skipUnknownProperties']);
     }
     return $configurationObject;
 }