public function testResetRevision() { $results = array(new ShellResult(0, '', ''), new ShellResult(0, '', '')); $commandExecutor = new MockCommandExecutor(new MockCommandBuilder($results, '/usr/bin/svn')); $vcs = new SvnVcs($commandExecutor, new RepositoryConfig()); $vcs->resetRevision(); $this->assertEquals(array(array('update')), $commandExecutor->getArguments()); }