public function setHost($host)
{
$this->host = $host;
return $this;
}
/** * @covers DragonBe\Vies\HeartBeat::setHost * @covers DragonBe\Vies\HeartBeat::getHost */ public function testCanSetHost() { $host = 'www.example.com'; $hb = new HeartBeat(); $hb->setHost($host); $this->assertSame($host, $hb->getHost()); }