public function testGetTotalQuantity()
{
$quantity = 3;
$rows = count($this->Order->getOrderDetails());
$total = 0;
foreach ($this->Order->getOrderDetails() as $Detail) {
$Detail->setQuantity($quantity);
$total += $Detail->getQuantity();
}
$this->app['orm.em']->flush();
$Result = $this->app['eccube.repository.order']->find($this->Order->getId());
$this->expected = $total;
$this->actual = $Result->calculateTotalQuantity();
$this->verify();
}