'L{FilePath.changed} indicates that the L{FilePath} has changed, but does
not re-read the status information from the filesystem until it is
queried again via another method, such as C{getsize}.'

def test_changed(self):

    fp = filepath.FilePath(self.mktemp())
    fp.setContent('12345')
    self.assertEqual(fp.getsize(), 5)
    with open(fp.path, 'wb') as fObj:
        fObj.write('12345678')
    self.assertEqual(fp.getsize(), 5)
    fp.changed()
    self.assertIsNone(fp.statinfo)
    self.assertEqual(fp.getsize(), 8)
