/**
* @covers DataSift\Storyplayer\ConfigLib\ConfigList::__construct
* @covers DataSift\Storyplayer\ConfigLib\ConfigList::getConfigType
* @covers DataSift\Storyplayer\ConfigLib\ConfigList::setConfigType
* @covers DataSift\Storyplayer\ConfigLib\ConfigList::getWrappedConfigClassname
* @covers DataSift\Storyplayer\ConfigLib\ConfigList::newWrappedConfigObject
*/
public function testCanGetNewListedConfigObject()
{
// ----------------------------------------------------------------
// setup the test
$expectedClassname = "DataSift\\Storyplayer\\ConfigLib\\WrappedConfig";
// ----------------------------------------------------------------
// perform the change
$obj = new ConfigList($expectedClassname, __DIR__ . '/ConfigListTestData1');
// ----------------------------------------------------------------
// test the results
$actualClassname = $obj->getWrappedConfigClassname();
$this->assertEquals($expectedClassname, $actualClassname);
$actualConfigObj = $obj->newWrappedConfigObject();
$this->assertTrue($actualConfigObj instanceof WrappedConfig);
}