public function testGetSetBondValue() { $expected = 123.12; $this->assertEmpty($this->deputyShip->getBondValue()); $this->assertTrue($this->deputyShip->setBondValue('a value') instanceof Deputyship); $this->assertEmpty($this->deputyShip->getBondValue()); $this->assertTrue($this->deputyShip->setBondValue($expected) instanceof Deputyship); $this->assertEquals($expected, $this->deputyShip->getBondValue()); }