public function test_configuration_not_found_exception() { $this->app['config']->set('adldap', null); $this->setExpectedException('Adldap\\Laravel\\Exceptions\\ConfigurationMissingException'); App::make('adldap'); }