def METHOD_NAME(self):
    # Perform a touch
    rfs = self.repoPrx.file(self.repo_filename, "rw")  # create empty file
    rfs.write([], 0, 0)
    rfs.close()
    rfs = self.repoPrx.file(self.repo_filename, "r")
    assert rfs.size() == 0
    wbytes = b"0123456789"
    try:
        rfs.write(wbytes, 0, len(wbytes))
    except Exception:
        pass
    assert rfs.size() == 0