'Test the _write_print_options() method with horizontal center'

def test_write_print_options_hcenter(self):

    self.worksheet.center_horizontally()
    self.worksheet._write_print_options()
    exp = '<printOptions    horizontalCentered="1"/>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
