def METHOD_NAME(self):
    """Test the _write_sheet_views() method with freeze panes"""
    self.worksheet.select()
    self.worksheet.freeze_panes(0, 1, 0, 4)
    self.worksheet.set_selection("A1")
    self.worksheet._write_sheet_views()
    exp = '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><pane xSplit="1" topLeftCell="E1" activePane="topRight" state="frozen"/><selection pane="topRight"/></sheetView></sheetViews>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)