public function testDownWithException() { $Category = $this->app['eccube.repository.category']->findOneBy(array('name' => '親1')); $result = $this->app['eccube.repository.category']->down($Category); $this->assertFalse($result); }