SessionFactoryFinder { public static SessionFactory find() throws ClassNotFoundException, InstantiationException { return find("org.apache.chemistry.opencmis.client.SessionFactory", null); } private  SessionFactoryFinder(); static SessionFactory find(); static SessionFactory find(String factoryId); static SessionFactory find(String factoryId, ClassLoader classLoader);  }
@Test(expected = ClassNotFoundException.class) public void testFind() throws ClassNotFoundException, InstantiationException { SessionFactoryFinder.find(); }