コード例 #1
0
 /**
  * @return array
  */
 public function initFromArrayDataProvider()
 {
     $fixture = json_decode($this->loadFixture(static::FIXTURE_REQUEST_MOCK), true);
     $taskList = new TaskList();
     $taskList->initFromArray($fixture);
     $expectation = new ActivityPollRequest();
     $expectation->setDomain('domainName');
     $expectation->setIdentity('identityValue');
     $expectation->setTaskList($taskList);
     return array(array('success' => array(static::INDEX_INPUT => $fixture, static::INDEX_EXPECTATION => $expectation)));
 }