EricMakesStuff\ServerMonitor\Test\Integration\Monitors\HttpPingMonitorTest::it_throws_an_exception_for_nonexistent_url PHP Method

it_throws_an_exception_for_nonexistent_url() public method

    public function it_throws_an_exception_for_nonexistent_url()
    {
        $httpPingMonitor = new HttpPingMonitor([]);
        $this->setExpectedException(InvalidConfiguration::class);
        $httpPingMonitor->runMonitor();
    }