/** * @covers Exads\Client * @test */ public function should_find_correct_port() { $client = new Client('http://localhost'); $this->assertSame(80, $client->getPort()); $client = new Client('https://localhost'); $this->assertSame(443, $client->getPort()); }