def METHOD_NAME(self):
    self.execute_command.side_effect = [(0, "", ""),  # is git
                                        (0, "1\n2\n3", "any-stderr")]
    self.assertEqual("3", VCSRevision().count)