Test class for IncomingInvoice.

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

 Methods

setUpBeforeClass()

setUpBeforeClass() 

testDelete()

testDelete() 

covers \Moneybird\IncomingInvoice::delete

testGetAll()

testGetAll() 

covers \Moneybird\IncomingInvoice_Service::getAll

testGetById()

testGetById() 

covers \Moneybird\IncomingInvoice_Service::getById

testRegisterPayment()

testRegisterPayment() 

covers \Moneybird\IncomingInvoice::registerPayment

testSave()

testSave() 

covers \Moneybird\IncomingInvoice::save

testSetContact()

testSetContact() 

covers \Moneybird\IncomingInvoice::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\IncomingInvoice

 

$service

$service : \Moneybird\Contact_Service

 

$taxRateId

$taxRateId