public function testGetOrderAction() { $order = $this->getMock('Sonata\\Component\\Order\\OrderInterface'); $this->assertEquals($order, $this->createOrderController($order)->getOrderAction(1)); }