'L{FilePath.setContent} creates temporary files with a user-supplied
extension so that if it is somehow interrupted while writing them the
file that it leaves behind will be identifiable.'

def test_customExtension(self):

    fp = TrackingFilePath(self.mktemp())
    fp.setContent('goodbye', '-something-else')
    self._assertOneOpened(fp, '-something-else')
