Inheritance: extends Controller
 public function testSettingsUpdate()
 {
     $request = m::mock('App\\Http\\Requests\\SettingsUpdateRequest');
     $request->shouldReceive('except')->once()->with('_token', '_method')->andReturn([]);
     $this->expectsJobs(App\Jobs\UpdateConfigJob::class);
     $edit = new SettingsController();
     $response = $edit->update($request, 'system');
     $this->assertInstanceOf('Illuminate\\Http\\RedirectResponse', $response);
     $this->assertEquals($this->app['url']->to('settings/system'), $response->headers->get('Location'));
     $this->assertSessionHasAll(['message' => 'System settings were successfully updated.']);
 }