public function itHasACardInCellPresenterWithSwimLineValueCollection()
 {
     $swimline_id = 112;
     stub($this->card_presenter)->getSwimlineId()->returns($swimline_id);
     $mapping_collection = stub('Cardwall_MappingCollection')->getSwimLineValues($this->field_id)->returns(array(123, 456));
     $card_in_cell_presenter_factory = new Cardwall_CardInCellPresenterFactory($this->field_provider, $mapping_collection);
     $cell_presenter = $card_in_cell_presenter_factory->getCardInCellPresenter($this->card_presenter);
     $this->assertEqual($cell_presenter, new Cardwall_CardInCellPresenter($this->card_presenter, $this->field_id, $swimline_id, array(123, 456)));
 }
 /**
  * @return Cardwall_CardInCellPresenter
  */
 public function getCardInCellPresenter(Tracker_Artifact $artifact, $swimline_id = 0)
 {
     return $this->card_in_cell_presenter_factory->getCardInCellPresenter($this->getCardPresenter($artifact, $swimline_id));
 }