/** * testGetMatchesErrors * * @expectedException \InvalidArgumentException */ public function testGetMatchesNoSpaceError() { $matches = Branch::getMatches('* develop 45eac8c31adfbbf633824cee6ce8cc5040b33511test message'); }