/**
* @covers DataSift\Storyplayer\ConfigLib\WrappedConfig::loadConfigFromFile()
* @covers DataSift\Storyplayer\ConfigLib\WrappedConfig::getConfig()
* @covers DataSift\Storyplayer\ConfigLib\WrappedConfig::getName()
*/
public function testAcceptsEmptyConfigFiles()
{
// ----------------------------------------------------------------
// setup your test
$expectedConfig = new BaseObject();
$expectedName = "wrapped-config-is-empty";
$obj = new WrappedConfig();
// ----------------------------------------------------------------
// perform the change
$obj->loadConfigFromFile(__DIR__ . "/wrapped-config-is-empty.json");
// ----------------------------------------------------------------
// test the results
// make sure the rest of the object has been left alone
$actualConfig = $obj->getConfig();
$actualName = $obj->getName();
$this->assertEquals($expectedConfig, $actualConfig);
$this->assertEquals($expectedName, $actualName);
}