def METHOD_NAME(self, num_upgrades):
    """
    ``Schema.get_version`` returns 0 when run against a new database.
    """
    db = connect(":memory:")
    cursor = db.cursor()
    self.assertThat(
        Schema(upgrades=dummy_upgrades(num_upgrades)).get_version(cursor),
        Equals(0),
    )