19 declare(strict_types=1);
29 require_once(
'ViewControlBaseTest.php');
39 ) extends
Control\ViewControlInput {
44 protected function getDefaultValue():
string 57 $this->assertEquals($v, $vc->withValue($v)->getValue());
58 $this->assertEquals($s, $vc->withOnChange($s)->getOnChangeSignal());
63 $v =
'some input value';
65 $input = $this->createMock(InputData::class);
66 $input->expects($this->exactly(2))
79 $this->assertEquals($v, $vc->getValue());
81 $transform = $this->
buildRefinery()->custom()->transformation(
82 fn ($v) => [
'mod' => $v]
84 $vc = $vc->withAdditionalTransformation($transform);
87 $vc->withInput($input)->getContent()->value()
testViewControlSortationMutators()
testViewControlWithInput()