EricMakesStuff\ServerMonitor\Test\Integration\Events\DiskUsageAlarmTest::it_will_fire_an_event_disk_usage_is_too_high PHP Method

it_will_fire_an_event_disk_usage_is_too_high() public method

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