/** * @covers \Magento\Rule\Model\Condition\AbstractCondition::getValueName * @dataProvider optionValuesData * @param string|array $value * @param string $expectingData */ public function testGetValueName($value, $expectingData) { $this->_combine->setValueOption(array('option_key' => 'option_value'))->setValue($value); $this->assertEquals($expectingData, $this->_combine->getValueName()); }