Пример #1
0
 /** @test */
 public function explicit_value_overrides_default_values()
 {
     $options = ['default_value' => 100, 'value' => 500];
     $input = new InputType('test', 'text', $this->plainForm, $options);
     $this->assertEquals(500, $input->getValue());
     $this->assertEquals(100, $input->getDefaultValue());
 }