@Test
public void testGetTimeZone() throws IoTDBSQLException, TException {

  String timeZone = ZoneId.systemDefault().toString();
  sessionId = connection.getSessionId();
  when(client.getTimeZone(sessionId)).thenReturn(new TSGetTimeZoneResp(successStatus, timeZone));
  connection.setClient(client);
  assertEquals(connection.getTimeZone(), timeZone);
}