'A L{FilePath} that has been moved aside with L{FilePath.moveTo} no
longer registers as existing.  Its previously non-existent target
exists, though, as it was created by the call to C{moveTo}.'

def test_moveToExistsCache(self):

    fp = filepath.FilePath(self.mktemp())
    fp2 = filepath.FilePath(self.mktemp())
    fp.touch()
    self.assertTrue(fp.exists())
    self.assertFalse(fp2.exists())
    fp.moveTo(fp2)
    self.assertFalse(fp.exists())
    self.assertTrue(fp2.exists())
