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); }
/** * Returns the date of the latter (--to) commit, in the format YYYY-MM-DD. * @return string */ public function getToDate() { return $this->vcs->getToDate(); }