load() public method

Loads the configuration from the supplied file path
public load ( string $filePath )
$filePath string The file to load
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Configuration data could not be parsed.
  */
 public function testExceptionOnInvalidJsonFormat()
 {
     $obj = new SqrlConfiguration();
     $obj->load(__DIR__ . '/Resources/bad.json');
 }