コード例 #1
0
 /**
  * {@inheritdoc}
  *
  * Overridden to set parameters to match the mock response.
  */
 protected function getSystemTestCommand()
 {
     $command = parent::getSystemTestCommand();
     $command->set('subject', 'please help');
     $command->set('name', array('jimmy'));
     return $command;
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 protected function getSystemTestCommand()
 {
     $command = parent::getSystemTestCommand();
     $command->set('since_created_at', new DateTime('2013-06-11 15:43:38', new DateTimeZone('UTC')));
     return $command;
 }
コード例 #3
0
 /**
  * Gets the command ready for the system test
  *
  * @return Guzzle\Service\Command\AbstractCommand
  */
 protected function getSystemTestCommand()
 {
     $command = parent::getSystemTestCommand();
     $command->set($this->getIdProperty(), 1);
     return $command;
 }