PHP Class Sonata\Test\CustomerBundle\Controller\Api\CustomerControllerTest

Author: Hugo Briand ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
createCustomerController ( $customer = null, $customerManager = null, $addressManager = null, $formFactory = null, $order = null, $orderManager = null ) : CustomerController
testDeleteCustomerAction ( )
testDeleteCustomerInvalidAction ( )
testGetCustomerAction ( )
testGetCustomerActionNotFoundException ( )
testGetCustomerAddressesAction ( )
testGetCustomerOrdersAction ( )
testGetCustomersAction ( )
testPostCustomerAction ( )
testPostCustomerAddressAction ( )
testPostCustomerAddressInvalidAction ( )
testPostCustomerInvalidAction ( )
testPutCustomerAction ( )
testPutCustomerInvalidAction ( )

Method Details

createCustomerController() public method

public createCustomerController ( $customer = null, $customerManager = null, $addressManager = null, $formFactory = null, $order = null, $orderManager = null ) : CustomerController
$customer
$customerManager
$addressManager
$formFactory
$order
$orderManager
return Sonata\CustomerBundle\Controller\Api\CustomerController

testDeleteCustomerAction() public method

testDeleteCustomerInvalidAction() public method

testGetCustomerAction() public method

testGetCustomerActionNotFoundException() public method

testGetCustomerAddressesAction() public method

testGetCustomerOrdersAction() public method

testGetCustomersAction() public method

testPostCustomerAction() public method

testPostCustomerAddressAction() public method

testPostCustomerAddressInvalidAction() public method

testPostCustomerInvalidAction() public method

testPutCustomerAction() public method

testPutCustomerInvalidAction() public method