public function testListInvoicesReturnsCorrectData()
 {
     $this->setMockResponse($this->client, array('invoices/listInvoices'));
     $invoices = $this->client->getInvoices();
     $this->assertInstanceOf('\\Mgrt\\Model\\ResultCollection', $invoices);
     $this->assertEquals($invoices->count(), 1);
     foreach ($invoices as $invoice) {
         $this->assertInstanceOf('\\Mgrt\\Model\\Invoice', $invoice);
     }
 }