public function testLoadAttributeOptions() { $this->conditionProduct->loadAttributeOptions(); $options = $this->conditionProduct->getAttributeOption(); $this->assertArrayHasKey('sku', $options); $this->assertArrayHasKey('attribute_set_id', $options); $this->assertArrayHasKey('category_ids', $options); foreach ($options as $code => $label) { $this->assertNotEmpty($label); $this->assertNotEmpty($code); } }