public function testOrderByNewer()
{
$Products = $this->app['eccube.repository.product']->findAll();
$Products[0]->setName('りんご');
$Products[0]->setCreateDate(new \DateTime('-1 day'));
$Products[1]->setName('アイス');
$Products[1]->setCreateDate(new \DateTime('-2 day'));
$Products[2]->setName('お鍋');
$Products[2]->setCreateDate(new \DateTime('-3 day'));
$this->app['orm.em']->flush();
// 新着順
$ProductListOrderBy = $this->app['orm.em']->getRepository('\\Eccube\\Entity\\Master\\ProductListOrderBy')->find(2);
$this->searchData = array('orderby' => $ProductListOrderBy);
$this->scenario();
$this->expected = array('りんご', 'アイス', 'お鍋');
$this->actual = array($this->Results[0]->getName(), $this->Results[1]->getName(), $this->Results[2]->getName());
$this->verify();
}