@Test
public void testRegisterComponent() throws Exception {

  assertFalse(WXSDKEngine.registerComponent(null,(Class<? extends WXComponent>) null,true));
  assertTrue(WXSDKEngine.registerComponent("test", TestComponent.class,true));
  assertTrue(WXSDKEngine.registerComponent("test1",TestComponent.class));
  assertTrue(WXSDKEngine.registerComponent(TestComponent.class,false,"testA","testB","testC"));
  Map<String,String> compInfo = new HashMap<>();
  assertFalse(WXSDKEngine.registerComponent(compInfo,TestComponent.class));
}