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

it_can_monitor_a_demo_url_successfully() public method

    public function it_can_monitor_a_demo_url_successfully()
    {
        $httpPingMonitor = new HttpPingMonitor(['url' => 'http://www.example.com/']);
        $httpPingMonitor->runMonitor();
        $this->assertEquals('200', $httpPingMonitor->getResponseCode());
    }