'Test the _write_sheet_protection() method.'

def test_write_sheet_protection_12(self):

    password = ''
    options = {'sort': 1}
    self.worksheet.protect(password, options)
    self.worksheet._write_sheet_protection()
    exp = '<sheetProtection    sheet="1"    objects="1"    scenarios="1"    sort="0"/>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
