@Test
public void testRegisterDomObject() throws Exception {

  assertFalse(WXSDKEngine.registerDomObject("test",null));
  assertFalse(WXSDKEngine.registerDomObject("", TestDomObject.class));
  assertTrue(WXSDKEngine.registerDomObject("test",TestDomObject.class));
}