public function testConfigNamesAreSorted()
{
// ----------------------------------------------------------------
// setup your test
$expectedKeys = ['config-1', 'config-2'];
$obj = new ConfigList("DataSift\\Storyplayer\\ConfigLib\\StoryplayerConfig", __DIR__ . '/ConfigListTestData1');
// ----------------------------------------------------------------
// perform the change
$obj->findConfigs();
// ----------------------------------------------------------------
// test the results
$configs = $obj->getEntries();
$this->assertEquals($expectedKeys, array_keys($configs));
}