Test class for Estimate.

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

 Methods

setUpBeforeClass()

setUpBeforeClass() 

testDelete()

testDelete() 

covers \Moneybird\Estimate::delete

testGetAll()

testGetAll() 

covers \Moneybird\Estimate_Service::getAll

testGetById()

testGetById() 

covers \Moneybird\Estimate_Service::getById

testGetPdf()

testGetPdf() 

covers \Moneybird\Estimate::getPdf

testMarkAsSent()

testMarkAsSent() 

covers \Moneybird\Estimate::markAsSent

testSave()

testSave() 

covers \Moneybird\Estimate::save

testSend()

testSend() 

covers \Moneybird\Estimate::send

testSetContact()

testSetContact() 

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

 

$estimateId

$estimateId : int

 

$estimateNumber

$estimateNumber : string

 

$object

$object : \Moneybird\Estimate

 

$service

$service : \Moneybird\Contact_Service

 

$taxRateId

$taxRateId