private function newTestProductClass($TestCreator, $TestProduct)
{
$TestClassCategory = new \Eccube\Entity\ProductClass();
$ProductType = $this->app['orm.em']->getRepository('\\Eccube\\Entity\\Master\\ProductType')->find(1);
$TestClassCategory->setProduct($TestProduct)->setProductType($ProductType)->setCode('test code')->setStock(100)->setStockUnlimited(0)->setSaleLimit(10)->setPrice01(10000)->setPrice02(5000)->setDeliveryFee(1000)->setCreator($TestCreator)->setDelFlg(0);
return $TestClassCategory;
}