setName() public method

assigns a name to this config
public setName ( string $name )
$name string the name to assign
 /**
  * @covers DataSift\Storyplayer\ConfigLib\HardCodedList::__construct
  * @covers DataSift\Storyplayer\ConfigLib\HardCodedList::addConfig
  * @expectedException DataSift\Storyplayer\ConfigLib\E4xx_IncompatibleConfigClass
  */
 public function testCanAddedConfigsMustBeCompatibleType()
 {
     // ----------------------------------------------------------------
     // setup the test
     $expectedName = 'test-config';
     $obj = new HardCodedList('DataSift\\Storyplayer\\ConfigLib\\StoryplayerConfig');
     // ----------------------------------------------------------------
     // perform the change
     $config = new WrappedConfig();
     $config->setName($expectedName);
     $obj->addConfig($config);
 }