### Question:
GrinderBuild { public static String getName() { return "The Grinder " + getVersionString(); } GrinderBuild(); static String getName(); static String getVersionString();  }### Answer:
@Test public void testGrinderBuildExceptions() throws Exception { final ClassLoader blockingLoader = new BlockingClassLoader(Collections.<String>emptySet(), singleton(GrinderBuild.class.getName()), Collections.<String>emptySet(), false) { @Override public URL getResource(String name) { return null; } }; try { Class.forName(GrinderBuild.class.getName(), true, blockingLoader); fail("Expected ExceptionInInitializerError"); } catch (ExceptionInInitializerError e) { assertTrue(e.getCause().toString(), e.getCause() instanceof IOException); } }