public function setPort($port) { $this->port = $port; return $this; }
/** * @covers DragonBe\Vies\HeartBeat::setPort */ public function testCanSetPort() { $port = 443; $hb = new HeartBeat(); $hb->setPort($port); $this->assertSame($port, $hb->getPort()); }