public function testIndexWithConfirm()
{
$form = $this->createFormData();
$crawler = $this->client->request('POST', $this->app->url('admin_order_mail', array('id' => $this->Order->getId())), array('mail' => $form, 'mode' => 'confirm'));
$this->assertTrue($this->client->getResponse()->isSuccessful());
$expected = array(EccubeEvents::ADMIN_ORDER_MAIL_INDEX_INITIALIZE, EccubeEvents::ADMIN_ORDER_MAIL_INDEX_CONFIRM);
$this->verifyOutputString($expected);
}