Example #1
0
 /**
  * @test
  */
 public function shouldReturnTrueIfRequiredFieldsNotEmpty()
 {
     $arrayObject = new ArrayObject();
     $arrayObject['aRequiredField'] = 'foo';
     $arrayObject['otherRequiredField'] = 'bar';
     $this->assertTrue($arrayObject->validatedNotEmpty(array('aRequiredField', 'otherRequiredField')));
 }