Example #1
0
 /**
  * @dataProvider valuesDataProvider
  *
  * @param mixed  $value
  * @param string $expectedType
  */
 public function testValueSettersAndGetters($value, $expectedType)
 {
     $obj = new ConfigValue();
     $obj->setValue($value);
     $this->assertEquals($value, $obj->getValue());
     $this->assertEquals($expectedType, $obj->getType());
 }
 /**
  * {@inheritDoc}
  */
 public function getValue()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', array());
     return parent::getValue();
 }