Test class for Invoice.

Generated by PHPUnit on 2012-07-15 at 12:56:35.

 Methods

setUpBeforeClass()

setUpBeforeClass() 

testDelete()

testDelete() 

covers \Moneybird\Invoice::delete

testGetAll()

testGetAll() 

covers \Moneybird\Invoice_Service::getAll

testGetById()

testGetById() 

covers \Moneybird\Invoice_Service::getById

testGetByIds()

testGetByIds() 

covers \Moneybird\Invoice_Service::getByIds

testGetByInvoiceId()

testGetByInvoiceId() 

covers \Moneybird\Invoice::send
covers \Moneybird\Invoice_Service::getByInvoiceId

testGetByPushMessage()

testGetByPushMessage() 

covers \Moneybird\Invoice_Service::getByPushMessage

testGetPdf()

testGetPdf() 

covers \Moneybird\Invoice::getPdf

testGetSyncList()

testGetSyncList() 

covers \Moneybird\Invoice_Service::getSyncList

testMarkAsSent()

testMarkAsSent() 

covers \Moneybird\Invoice::markAsSent

testRegisterPayment()

testRegisterPayment() 

covers \Moneybird\Invoice::registerPayment

testRemind()

testRemind() 

covers \Moneybird\Invoice::remind

testSave()

testSave() 

covers \Moneybird\Invoice::save

testSetContact()

testSetContact() 

covers \Moneybird\Invoice::setContact

Sets up the fixture, for example, opens a network connection.

setUp() 

This method is called before a test is executed.

Tears down the fixture, for example, closes a network connection.

tearDown() 

This method is called after a test is executed.

 Properties

 

$apiConnector

$apiConnector : \Moneybird\ApiConnector

 

$config

$config 

 

$contact

$contact 

 

$invoiceId

$invoiceId : int

 

$invoiceNumber

$invoiceNumber : string

 

$object

$object : \Moneybird\Invoice

 

$service

$service : \Moneybird\Contact_Service

 

$taxRateId

$taxRateId