/** * @covers Soliant\SimpleFM\Adapter::getHostname */ public function testGetSetHostname() { $test = $this->object->setHostname('127.0.0.1'); $this->assertTrue($test instanceof $this->object); $this->assertEquals($this->object->getHostname(), '127.0.0.1'); }