'If given a resumeOffset argument, L{DccFileReceive} will attempt to
resume from that number of bytes if the file exists.'

def test_resumeFromResumeOffset(self):

    fp = FilePath(self.mktemp())
    fp.setContent('Twisted    is    awesome!')
    protocol = self.makeConnectedDccFileReceive(fp.path, resumeOffset=11)
    self.allDataReceivedForProtocol(protocol, 'amazing!')
    self.assertEqual(fp.getContent(), 'Twisted    is    amazing!')
