             migration.enumerate("SwiftStringObject", { oldObj, newObj in
                 XCTFail("No objects to enumerate")
             })
+
+            migration.enumerate("NoSuchClass", {oldObj, newObj in}) // shouldn't throw
         })
 
         // add object


        Realm()
        XCTAssertEqual(UInt(0), schemaVersionAtPath(Realm.defaultPath)!, "Initial version should be 0")
    }

    func testMigrateRealm() {

        migrateAndTestRealm(Realm.defaultPath, block: { migration, oldSchemaVersion in
            migration.create("SwiftStringObject", withObject:["string"])
            migration.create("SwiftStringObject", withObject:["stringCol": "string"])

            self.assertThrows(migration.create("NoSuchObject", withObject:[]))

            var count = 0
            migration.enumerate("SwiftStringObject", { oldObj, newObj in
