'Test the _write_cell_xfs() method'

def test_write_cell_xfs(self):

    xf_format = Format()
    xf_format.has_font = 1
    self.styles._set_style_properties([[xf_format], None, 1, 0, 0, 0, [], []])
    self.styles._write_cell_xfs()
    exp = '<cellXfs    count="1"><xf    numFmtId="0"    fontId="0"    fillId="0"    borderId="0"    xfId="0"/></cellXfs>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
