1515use PHPUnit_Framework_MockObject_MockObject as MockObject ;
1616use PHPUnit_Framework_TestCase as TestCase ;
1717use stdClass ;
18- use Zend \InputFilter \ArrayInput ;
1918use Zend \InputFilter \BaseInputFilter ;
2019use Zend \InputFilter \Exception \InvalidArgumentException ;
2120use Zend \InputFilter \Exception \RuntimeException ;
@@ -556,22 +555,6 @@ public function testAddingExistingInputWillMergeIntoExisting()
556555 $ this ->assertFalse ($ filter ->get ('foo ' )->isRequired ());
557556 }
558557
559- /**
560- * @group 5638
561- */
562- public function testPopulateSupportsArrayInputEvenIfDataMissing ()
563- {
564- /** @var ArrayInput|MockObject $arrayInput */
565- $ arrayInput = $ this ->getMock (ArrayInput::class);
566- $ arrayInput
567- ->expects ($ this ->once ())
568- ->method ('resetValue ' );
569-
570- $ filter = $ this ->inputFilter ;
571- $ filter ->add ($ arrayInput , 'arrayInput ' );
572- $ filter ->setData (['foo ' => 'bar ' ]);
573- }
574-
575558 /**
576559 * @group 6431
577560 */
@@ -597,15 +580,6 @@ public function testMerge()
597580 );
598581 }
599582
600- public function testHasValueIsFalseIfNoValueWasProvided ()
601- {
602- $ inputFilter = new BaseInputFilter ();
603- $ inputFilter ->add (new ArrayInput (), 'foo ' );
604-
605- $ inputFilter ->setData ([]);
606- $ this ->assertFalse ($ inputFilter ->get ('foo ' )->hasValue ());
607- }
608-
609583 public function addMethodArgumentsProvider ()
610584 {
611585 $ inputTypes = $ this ->inputProvider ();
0 commit comments