public function testShowOrder()
{
$id = $this->Customer->getId();
//add Order pendding status for this customer
$Order = $this->createOrder($this->Customer);
$OrderStatus = $this->app['eccube.repository.order_status']->find($this->app['config']['order_pre_end']);
$Order->setOrderStatus($OrderStatus);
$this->Customer->addOrder($Order);
$this->app['orm.em']->persist($this->Customer);
$this->app['orm.em']->flush();
$crawler = $this->client->request('GET', $this->app->path('admin_customer_edit', array('id' => $id)));
$orderListing = $crawler->filter('#history_box__body')->text();
$this->assertRegexp('/' . $Order->getId() . '/', $orderListing);
}