Esempio n. 1
0
 public function respondActivityTaskFailedDataProvider()
 {
     $fixture = json_decode($this->loadFixture(static::FIXTURE_ACTIVITY_TASK_FAILED_REQUEST), true);
     $request = new ActivityFailureResponse();
     $request->setTaskToken('AAAAKgAAAAEAAAAAAAAAAdG7j7YFEl9pfKdXRL3Cy3Q3c');
     $request->setReason('could not verify customer credit card');
     $request->setDetails('card number invalid');
     return array(array('success' => array(static::INDEX_INPUT => $request, static::INDEX_SWF_CLIENT_REQUEST_MOCK => $fixture)));
 }