def METHOD_NAME(self, chunk, numberOfChunks, dataSize):
    dr = self.netstringReceiver.dataReceived
    now = time.time()
    dr(f"{dataSize}:".encode("ascii"))
    for idx in range(numberOfChunks):
        dr(chunk)
    dr(NETSTRING_POSTFIX)
    elapsed = time.time() - now
    assert self.netstringReceiver.received, "Didn't receive string!"
    return elapsed