/**
  * Getting tax records for a quote should extract all tax records for all
  * addresses belonging to that quote.
  */
 public function testBuildingTaxRecordsForQuote()
 {
     // Set the tax factory to expect to get the expected ship group and
     // address and return the address parser that will give the expected
     // address tax records.
     $this->_taxFactory->expects($this->once())->method('createResponseAddressParser')->with($this->identicalTo($this->_shipGroup, $this->_address))->will($this->returnValue($this->_addressParser));
     // In this case there is one ship group, related to one address so the
     // tax records returned, should be the tax records for that address.
     $this->assertSame($this->_addressTaxRecords, $this->_quoteParser->getTaxRecords());
     $this->assertSame($this->_addressTaxDuties, $this->_quoteParser->getTaxDuties());
     $this->assertSame($this->_addressTaxFees, $this->_quoteParser->getTaxFees());
 }