OpenTypeSupport { public static OpenTypeFactory getFactory(Class clazz) throws OpenDataException { return (OpenTypeFactory)OPEN_TYPE_FACTORIES.get(clazz); }  static OpenTypeFactory getFactory(Class clazz); static CompositeData convert(Object message);  }
@Test public void getFactoryTest() { try { OpenTypeSupport.getFactory(OpenTypeSupportTest.class); } catch (OpenDataException e) { fail("Failed to great OpenTypeSupport factory:\n" + e.getMessage()); } }