### Question:
WXWebView implements IWebView { @Override public void loadUrl(String url) { if(getWebView() == null) return; getWebView().loadUrl(url); } WXWebView(Context context, String origin); @Override View getView(); @Override void destroy(); @Override void loadUrl(String url); @Override void loadDataWithBaseURL(String source); @Override void reload(); @Override void goBack(); @Override void goForward(); @Override void postMessage(Object msg); @Override void setShowLoading(boolean shown); @Override void setOnErrorListener(OnErrorListener listener); @Override void setOnPageListener(OnPageListener listener); @Override void setOnMessageListener(OnMessageListener listener);  }### Answer:
@Test public void testLoadUrl() throws Exception { String url = "http: view.loadUrl(url); WebViewClient client = shadow.getWebViewClient(); client.onPageStarted(webView,url,null); client.onPageFinished(webView,url); WebChromeClient chromeClient = shadow.getWebChromeClient(); chromeClient.onProgressChanged(webView,10); chromeClient.onProgressChanged(webView,100); chromeClient.onReceivedTitle(webView,"test"); }