def METHOD_NAME(self, format):
    content = self.getTestJson()
    fa = self.make_file_annotation(
        name='test.%s' % format[0], binary=content, mimetype=format[1])
    fid = unwrap(fa.file.id)
    retdata, rettype = pydict_text_io.get_format_originalfileid(
        fid, None, self.client.getSession())
    assert rettype == 'json'
    assert retdata == content