Esempio n. 1
0
 public function respondActivityTaskCompletedDataProvider()
 {
     $input = new ActivityResultResponse();
     $input->setTaskToken('taskToken');
     $input->setResult('resultValue');
     $expectation = json_decode($this->loadFixture(static::FIXTURE_RESPOND_ACTIVITY_TASK_COMPLETE), true);
     return array(array('success' => array(static::INDEX_INPUT => $input, static::INDEX_EXPECTATION => $expectation)));
 }
Esempio n. 2
0
 /**
  * @param ActivityResultResponse $request
  */
 public function respondActivityTaskCompleted(ActivityResultResponse $request)
 {
     $this->swfClient->respondActivityTaskCompleted($request->convertToArray());
 }