/**
  * @see Transition_PostActionSubFactory::fetchPostActions()
  */
 public function fetchPostActions()
 {
     $html = '';
     $html .= '<option value="" selected>--</option>';
     $html .= '<option value="' . Transition_PostAction_CIBuild::SHORT_NAME . '">';
     $html .= Transition_PostAction_CIBuild::getLabel();
     $html .= '</option>';
     return $html;
 }
 public function itDoesNothingIfThePostActionIsNotDefined()
 {
     $id = 123;
     $job_url = '';
     $post_action_ci_build = new Transition_PostAction_CIBuild($this->transition, $id, $job_url, $this->client);
     expect($GLOBALS['Response'])->addFeedback()->never();
     expect($this->client)->launchJobBuild()->never();
     $post_action_ci_build->after($this->changeset);
 }