@Test
public void classForNameWithoutContextClassLoader() {

    Thread current = Thread.currentThread();
    ClassLoader origLoader = current.getContextClassLoader();
    current.setContextClassLoader(null);
    try {
        classForName();
    } finally {
        current.setContextClassLoader(origLoader);
    }
}