### Question:
WXDomManager { public void removeDomStatement(String instanceId) { if (!WXUtils.isUiThread()) { throw new WXRuntimeException("[WXDomManager] removeDomStatement"); } final DOMActionContextImpl statement = mDomRegistries.remove(instanceId); if (statement != null) { post(new Runnable() { @Override public void run() { statement.destroy(); } }); } } WXDomManager(WXRenderManager renderManager); void sendEmptyMessageDelayed(int what, long delayMillis); void sendMessage(Message msg); void sendMessageDelayed(Message msg, long delay); void removeDomStatement(String instanceId); void post(Runnable task); void destroy(); void executeAction(String instanceId, DOMAction action, boolean createContext); DOMActionContext getDomContext(String instanceId); void postAction(String instanceId,DOMAction action, boolean createContext); void postActionDelay(String instanceId,DOMAction action,
                              boolean createContext, long delay); void postRenderTask(@NonNull String instanceId);  }### Answer:
@Test public void testRemoveDomStatement() throws Exception { dm.removeDomStatement(instance.getInstanceId()); }