public function testGetSetLineItemValue()
 {
     $expected = 2500.34;
     $this->assertEmpty($this->lineItem->getValue());
     $this->assertTrue($this->lineItem->setValue($expected) instanceof LineItem);
     $this->assertEquals($expected, $this->lineItem->getValue());
 }
 /**
  * @param \Opg\Core\Model\Entity\LineItem\LineItem $closingBalance
  * @return HasClosingBalances
  */
 public function addClosingBalance(LineItem $closingBalance)
 {
     $this->initClosingBalances();
     $closingBalance->setDocument($this);
     $this->closingBalances->add($closingBalance);
     return $this;
 }