### Question:
WXVideo extends WXComponent<FrameLayout> { @Override protected boolean setProperty(String key, Object param) { switch (key) { case Constants.Name.SRC: String src = WXUtils.getString(param, null); if (src != null) { setSrc(src); } return true; case Constants.Name.AUTO_PLAY: Boolean result = WXUtils.getBoolean(param, null); if (result != null) { setAutoPlay(result); } return true; case Constants.Name.PLAY_STATUS: String status = WXUtils.getString(param, null); if (status != null) { setPlaystatus(status); } return true; } return super.setProperty(key, param); } @Deprecated  WXVideo(WXSDKInstance instance, WXVContainer parent, String instanceId, boolean isLazy, BasicComponentData basicComponentData);  WXVideo(WXSDKInstance instance, WXVContainer parent, boolean isLazy, BasicComponentData basicComponentData); @Override void bindData(WXComponent component); @Override void notifyAppearStateChange(String wxEventType, String direction); @Override void destroy(); @WXComponentProp(name = Constants.Name.SRC) void setSrc(String src); @WXComponentProp(name = Constants.Name.AUTO_PLAY) void setAutoPlay(boolean autoPlay); @WXComponentProp(name = Constants.Name.PLAY_STATUS) void setPlaystatus(String playstatus);  }### Answer:
@Test public void testSetProperty() throws Exception { component.mPrepared = true; ComponentTest.setProperty(component,PROPS,VALUES); }