/** * @expectedException Stevenmaguire\Uber\Exception */ public function testConfigurationWillNotAcceptNonPropertyConfig() { $client = new Uber(['non_existent_property' => 'test']); $client->getNonExistentProperty(); }
/** * @expectedException Stevenmaguire\Uber\Exception */ public function test_Configuration_Will_Not_Accept_Non_Property_Config() { $client = new Uber(['non_existent_property' => 'test']); $client->getNonExistentProperty(); }