initialize() public method

If any unknown parameters passed, they will be ignored.
public initialize ( array $parameters = [] )
$parameters array An associative array of parameters
 public function setUp()
 {
     parent::setUp();
     $this->request = new DirectAuthorizeRequest($this->getHttpClient(), $this->getHttpRequest());
     $this->request->initialize(array('amount' => '12.00', 'currency' => 'GBP', 'transactionId' => '123', 'card' => $this->getValidCard()));
 }