/** * @covers ::getBilling * @covers ::setBilling */ public function testBilling() { $item = new Purchase(); $billing = $item->getBilling(); $this->assertInstanceOf('CL\\Purchases\\Address', $billing); $this->assertTrue($billing->isVoid()); $billing = new Address(); $item->setBilling($billing); $this->assertSame($billing, $item->getBilling()); }