         }
     }
     
-    func testFetchFromStatementWithAdapter() {
-        assertNoError {
-            let dbQueue = try makeDatabaseQueue()
-            try dbQueue.inDatabase { db in
-                let adapter = ColumnMapping(["firstName": "firstName1", "lastName": "lastName1"])
-                    .addingScopes(["bestFriend": ColumnMapping(["firstName": "firstName2", "lastName": "lastName2"])])
-                let sql = "SELECT ? AS firstName1, ? AS lastName1, ? AS firstName2, ? AS lastName2"
-                let arguments = StatementArguments(["Stan", "Laurel", "Oliver", "Hardy"])
-                let statement = try db.makeSelectStatement(sql)
-                let ss = Person.fetch(statement, arguments: arguments, adapter: adapter)
-                let s = Array(ss).first!
-                XCTAssertEqual(s.firstName, "Stan")
-                XCTAssertEqual(s.lastName, "Laurel")
-                XCTAssertTrue(s.fetched)
-                XCTAssertEqual(s.bestFriend!.firstName, "Oliver")
-                XCTAssertEqual(s.bestFriend!.lastName, "Hardy")
-                XCTAssertTrue(s.bestFriend!.fetched)
-            }
-        }
-    }
-    
-    func testFetchAllFromStatementWithAdapter() {
-        assertNoError {
-            let dbQueue = try makeDatabaseQueue()
-            try dbQueue.inDatabase { db in
-                let adapter = ColumnMapping(["firstName": "firstName1", "lastName": "lastName1"])
-                    .addingScopes(["bestFriend": ColumnMapping(["firstName": "firstName2", "lastName": "lastName2"])])
-                let sql = "SELECT ? AS firstName1, ? AS lastName1, ? AS firstName2, ? AS lastName2"
-                let arguments = StatementArguments(["Stan", "Laurel", "Oliver", "Hardy"])
-                let statement = try db.makeSelectStatement(sql)
-                let ss = Person.fetchAll(statement, arguments: arguments, adapter: adapter)
-                let s = ss.first!
-                XCTAssertEqual(s.firstName, "Stan")
-                XCTAssertEqual(s.lastName, "Laurel")
-                XCTAssertTrue(s.fetched)
-                XCTAssertEqual(s.bestFriend!.firstName, "Oliver")
-                XCTAssertEqual(s.bestFriend!.lastName, "Hardy")
-                XCTAssertTrue(s.bestFriend!.fetched)
-            }
-        }
-    }
-    
     func testFetchOneFromStatementWithAdapter() {
         assertNoError {
             let dbQueue = try makeDatabaseQueue()

            }
        }
    }
}

        }
    }
    
    func testFetchSequenceFromStatementWithAdapter() {
        assertNoError {
            let dbQueue = try makeDatabaseQueue()
            try dbQueue.inDatabase { db in
                let adapter = ColumnMapping(["firstName": "firstName1", "lastName": "lastName1"])
                    .addingScopes(["bestFriend": ColumnMapping(["firstName": "firstName2", "lastName": "lastName2"])])
                let sql = "SELECT ? AS firstName1, ? AS lastName1, ? AS firstName2, ? AS lastName2"
                let arguments = StatementArguments(["Stan", "Laurel", "Oliver", "Hardy"])
                let statement = try db.makeSelectStatement(sql)
                let ss = Person.fetch(statement, arguments: arguments, adapter: adapter)
                let s = Array(ss).first!
                XCTAssertEqual(s.firstName, "Stan")
                XCTAssertEqual(s.lastName, "Laurel")
                XCTAssertTrue(s.fetched)
                XCTAssertEqual(s.bestFriend!.firstName, "Oliver")
                XCTAssertEqual(s.bestFriend!.lastName, "Hardy")
                XCTAssertTrue(s.bestFriend!.fetched)
            }
        }
    }
    
    func testFetchAllFromStatement() {
        assertNoError {
            let dbQueue = try makeDatabaseQueue()
