public function testCompleteWithActivate()
{
$BaseInfo = $this->app['eccube.repository.base_info']->get();
$BaseInfo->setOptionCustomerActivate(1);
$this->app['orm.em']->flush();
$client = $this->createClient();
$crawler = $client->request('POST', $this->app['url_generator']->generate('entry'), array('entry' => $this->createFormData(), 'mode' => 'complete'));
$this->assertTrue($client->getResponse()->isRedirect($this->app->url('entry_complete')));
$Messages = $this->getMailCatcherMessages();
$Message = $this->getMailCatcherMessage($Messages[0]->id);
$this->expected = '[' . $BaseInfo->getShopName() . '] 会員登録のご確認';
$this->actual = $Message->subject;
$this->verify();
}