### Question:
WXAnimationModule extends WXModule { @JSMethod public void transition(@Nullable String ref, @Nullable JSONObject animation, @Nullable String callBack) { if (!TextUtils.isEmpty(ref) && animation != null && mWXSDKInstance != null) { DOMAction animationActions = getAnimationAction(ref, animation, callBack); WXSDKManager.getInstance().getWXDomManager().postActionDelay(mWXSDKInstance.getInstanceId(), animationActions, false, WXDomHandler.DELAY_TIME); } }  @JSMethod void transition(@Nullable String ref, @Nullable JSONObject animation, @Nullable String callBack);  }### Answer:
@Test public void testTransition() throws Exception { module.transition("", JSONObject.parseObject("{}"),""); module.transition("test", JSONObject.parseObject("{\"test\":\"test\"}"),""); }