public function testSetAndGetPort() { $this->endpoint->setPort(8080); $this->assertEquals(8080, $this->endpoint->getPort()); }