### Question:
WXWebView implements IWebView { @Override public void loadDataWithBaseURL(String source) { if(getWebView() == null) return; getWebView().loadDataWithBaseURL(mOrigin, source, "text/html", "utf-8", null); } 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 testLoadDataWithBaseURL() throws Exception { String source = "<p><span>hello weex</span></p>"; view.loadDataWithBaseURL(source); }