@Test
public void testHandleMessage() throws Exception {

  int[] msgs = {
      WXJSBridgeMsgType.INIT_FRAMEWORK,
      WXJSBridgeMsgType.CALL_JS_BATCH,
      WXJSBridgeMsgType.SET_TIMEOUT,
      WXJSBridgeMsgType.MODULE_INTERVAL,
      WXJSBridgeMsgType.MODULE_TIMEOUT
  };
  Message msg = new Message();
  for(int w:msgs) {
    msg.what = w;
    getInstance().handleMessage(msg);
  }
}