public function testGetUpcomingInvoice()
{
$this->client->post('invoiceitems', null, array('customer' => $this->customerId, 'amount' => 350, 'currency' => 'usd'));
$invoices = $this->invoices->getUpcomingInvoice($this->customerId);
$this->assertInstanceOf(Invoices::INVOICE_RESPONSE_CLASS, $invoices);
}