The custom amount applied on an invoice. If you include a label, the amount cannot be empty.
/** * @depends testSerializationDeserialization * @param CustomAmount $obj */ public function testGetters($obj) { $this->assertEquals($obj->getLabel(), "TestSample"); $this->assertEquals($obj->getAmount(), CurrencyTest::getObject()); }