'Test the _write_xf() method. Horizontal alignment = distributed.'

def test_write_xf_19(self):

    properties = {'align': 'distributed'}
    xf_format = Format(properties)
    self.styles._write_xf(xf_format)
    exp = '<xf    numFmtId="0"    fontId="0"    fillId="0"    borderId="0"    xfId="0"    applyAlignment="1"><alignment    horizontal="distributed"/></xf>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
