public function testRoutingAdminProductCategoryEdit()
{
// before
$TestCreator = $this->createMember();
$TestCategory = $this->newTestCategory($TestCreator);
$this->app['orm.em']->persist($TestCategory);
$this->app['orm.em']->flush();
$test_category_id = $this->app['eccube.repository.category']->findOneBy(array('name' => $TestCategory->getName()))->getId();
// main
$this->client->request('GET', $this->app->url('admin_product_category_edit', array('id' => $test_category_id)));
$this->assertTrue($this->client->getResponse()->isSuccessful());
// after
$this->app['orm.em']->remove($TestCategory);
$this->app['orm.em']->flush();
}