EricMakesStuff\ServerMonitor\Test\Integration\Events\DiskUsageHealthyTest::it_will_fire_an_event_when_disk_usage_is_healthy PHP Method

it_will_fire_an_event_when_disk_usage_is_healthy() public method

    public function it_will_fire_an_event_when_disk_usage_is_healthy()
    {
        $this->app['config']->set('server-monitor.monitors', ['DiskUsage' => [['alarmPercentage' => 99.98999999999999]]]);
        $this->expectsEvent(DiskUsageHealthy::class);
        Artisan::call('monitor:run');
    }