public function testGetCrossProjectReference()
 {
     $mergeRequest = new MergeRequest();
     $mergeRequest->project = 'fgrosse/example';
     $mergeRequest->id = 42;
     $this->assertEquals('fgrosse/example!42', $mergeRequest->getCrossProjectReference());
 }
 /**
  * Parse a MergeRequestCollection from an array
  * @param array $data
  * @return MergeRequestCollection|MergeRequest[]
  */
 public static function fromArray(array $data)
 {
     $collection = new self();
     foreach ($data as $mergeRequestData) {
         $collection[] = MergeRequest::fromArray($mergeRequestData);
     }
     return $collection;
 }