EricMakesStuff\ServerMonitor\Test\Integration\Events\HttpPingUpTest::it_will_fire_an_event_when_http_is_up PHP Метод

it_will_fire_an_event_when_http_is_up() публичный Метод

    public function it_will_fire_an_event_when_http_is_up()
    {
        $this->app['config']->set('server-monitor.monitors', ['HttpPing' => [['url' => 'http://www.example.com/']]]);
        $this->expectsEvent(HttpPingUp::class);
        Artisan::call('monitor:run');
    }