'Test the _write_sheet_views() method with freeze panes + selection'

def test_write_sheet_views4(self):

    self.worksheet.select()
    self.worksheet.set_selection('I5')
    self.worksheet.freeze_panes('G4')
    self.worksheet._write_sheet_views()
    exp = '<sheetViews><sheetView    tabSelected="1"    workbookViewId="0"><pane    xSplit="6"    ySplit="3"    topLeftCell="G4"    activePane="bottomRight"    state="frozen"/><selection    pane="topRight"    activeCell="G1"    sqref="G1"/><selection    pane="bottomLeft"    activeCell="A4"    sqref="A4"/><selection    pane="bottomRight"    activeCell="I5"    sqref="I5"/></sheetView></sheetViews>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
