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