public function testCanLoadConfigFile()
{
// ----------------------------------------------------------------
// setup your test
$expectedConfig = new BaseObject();
$expectedConfig->dummy1 = true;
$expectedName = "wrapped-config-1";
$expectedFilename = __DIR__ . "/wrapped-config-1.json";
$obj = new WrappedConfig();
// ----------------------------------------------------------------
// perform the change
$obj->loadConfigFromFile($expectedFilename);
// ----------------------------------------------------------------
// test the results
$actualConfig = $obj->getConfig();
$actualName = $obj->getName();
$actualFilename = $obj->getFilename();
$this->assertEquals($expectedConfig, $actualConfig);
$this->assertEquals($expectedName, $actualName);
$this->assertEquals($expectedFilename, $actualFilename);
}