private function getTravis($return = array(), $with = null)
{
$output = $this->getMock('Symfony\\Component\\Console\\Output\\OutputInterface');
$travis = new Travis($output);
$travis->setBrowser($this->getBrowserMock($return, $with));
return $travis;
}