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