Index: branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetProductClassIdTest.php
===================================================================
--- branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetProductClassIdTest.php	(revision 22206)
+++ branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetProductClassIdTest.php	(revision 22532)
@@ -45,13 +45,37 @@
 
   /////////////////////////////////////////
-  public function testSfGetProductClassId_存在するIDを指定した場合_対応する製品クラスが取得できる() {
+  public function testSfGetProductClassId_存在する製品IDのみを指定した場合_カテゴリ0の対応する製品クラスが取得できる() {
     
-    $this->expected = '1001';
-    $this->actual = SC_Utils::sfGetProductClassId('1001');
+    $this->expected = '2001';
+    $this->actual = SC_Utils::sfGetProductClassId('2001');
 
     $this->verify('取得した製品クラス');
   }
 
-  public function testSfGetProductClassId_存在しないIDを指定した場合_nullが返る() {
+  public function testSfGetProductClassId_存在する製品IDのみを指定してカテゴリ0の製品クラスが存在しなければ_nullが返る() {
+    
+    $this->expected = null;
+    $this->actual = SC_Utils::sfGetProductClassId('1001');
+
+    $this->verify('取得結果が空');
+  }
+
+  public function testSfGetProductClassId_存在する製品IDとカテゴリIDを指定した場合_対応する製品クラスが取得できる() {
+    
+    $this->expected = '1002';
+    $this->actual = SC_Utils::sfGetProductClassId('1001', '2');
+
+    $this->verify('取得した製品クラス');
+  }
+
+  public function testSfGetProductClassId_存在する製品IDと存在しないカテゴリIDを指定した場合_nullが返る() {
+    
+    $this->expected = null;
+    $this->actual = SC_Utils::sfGetProductClassId('1001', '999');
+
+    $this->verify('取得結果が空');
+  }
+
+  public function testSfGetProductClassId_存在しない製品IDを指定した場合_nullが返る() {
     $this->expected = null;
     $this->actual = SC_Utils::sfGetProductClassId('9999');
@@ -77,6 +101,5 @@
         'creator_id' => '1',
         'update_date' => 'CURRENT_TIMESTAMP'
-      )
-      /** 同じproduct_idが2つあるケースは現状failするのでいったんコメントアウト
+      ),
       array(
         'product_class_id' => '1002',
@@ -87,5 +110,4 @@
         'update_date' => 'CURRENT_TIMESTAMP'
       )
-      */
     );
 
