         final class ResponseDelegate: HTTPClientResponseDelegate {
             typealias Response = Void
 
-            private let bytesTheClientSent: NIOAtomic<Int>
-
-            init(bytesTheClientSent: NIOAtomic<Int>) {
+            private let bytesTheClientSent: ManagedAtomic<Int>
+
+            init(bytesTheClientSent: ManagedAtomic<Int>) {
                 self.bytesTheClientSent = bytesTheClientSent
             }
 

            }

            func didSendRequestPart(task: HTTPClient.Task<Response>, _ part: IOData) {
                _ = self.bytesTheClientSent.add(part.readableBytes)
            }
        }


            }
        }

        XCTAssertEqual(1, numberOfTimesTheServerGotOfferedBytes.load(ordering: .relaxed))
        XCTAssertGreaterThan(tenMB.readableBytes, bytesTheServerSaw.load(ordering: .relaxed))
        XCTAssertGreaterThan(tenMB.readableBytes, bytesTheClientSent.load(ordering: .relaxed))
        XCTAssertEqual(0, bytesTheClientSent.load(ordering: .relaxed)) // We'd only see this if we sent the full 10 MB.
        XCTAssertFalse(serverSawEnd.load(ordering: .relaxed))
        XCTAssertTrue(serverSawRequest.load(ordering: .relaxed))

        allDonePromise.succeed(())
    }
