コード例 #1
0
ファイル: ParserSpec.php プロジェクト: fojuth/readmegen
 function it_should_parse_the_vcs_log_into_an_array(TypeInterface $vcs)
 {
     $returnData = array('foo bar', 'baz');
     $vcs->parse()->willReturn($returnData);
     $this->parse()->shouldBe($returnData);
 }
コード例 #2
0
ファイル: Parser.php プロジェクト: voodoo-mobile/readmegen
 /**
  * Returns the parsed log.
  * @return array
  */
 public function parse()
 {
     return $this->vcs->parse();
 }