EricMakesStuff\ServerMonitor\Test\Integration\Monitors\DiskUsageMonitorTest::it_throws_an_exception_for_nonexistent_disk PHP Method

it_throws_an_exception_for_nonexistent_disk() public method

    public function it_throws_an_exception_for_nonexistent_disk()
    {
        $diskUsageMonitor = new DiskUsageMonitor(['path' => '/a234k3l2k3j4l23k/23l4j2l34j']);
        $this->setExpectedException(InvalidPath::class);
        $diskUsageMonitor->runMonitor();
    }