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