public function testGetCustomerOrdersAction()
{
$customer = $this->getMock('Sonata\\Component\\Customer\\CustomerInterface');
$order = $this->getMock('Sonata\\Component\\Order\\OrderInterface');
$this->assertEquals(array($order), $this->createCustomerController($customer, null, null, null, $order)->getCustomerOrdersAction(1));
}