Example #1
0
 public function testGetAllOption()
 {
     $options = Mage_Catalog_Model_Product_Type::getAllOption();
     $this->assertTrue(isset($options[0]['value']));
     $this->assertTrue(isset($options[0]['label']));
     // doesn't make sense to test other values, because the structure of resulting array is inconsistent
 }