/**
  * @dataProvider validData
  */
 public function testDataValidationSucceeds($field, $value)
 {
     $model = new Transaction();
     $model[$field] = $value;
     $model->validate();
 }
 public function getTransactionModel()
 {
     $model = new Transaction();
     return $model->initialize($this->getParameters());
 }