### Question:
ClassLanguage extends AbstractProgrammingLanguage { @Override public void load_code_file(String classFile) throws Throwable { Class<?> clazz = loadClass(classFile); addClass(clazz); } ClassLanguage(ClassLanguageMixin languageMixin, ExceptionFactory exceptionFactory, StepMother stepMother, List<ClassAnalyzer> analyzers);  ClassLanguage(ClassLanguageMixin languageMixin, ExceptionFactory exceptionFactory, StepMother stepMother, List<ClassAnalyzer> analyzers, ObjectFactory objectFactory); void addTransform(Class<?> returnType, Transformable javaTransform); @Override void load_code_file(String classFile); void addClass(Class<?> clazz); @Override void begin_scenario(Scenario scenario); @Override void end_scenario(); Object invokeHook(Method method, Scenario scenario); Object invoke(Method method, Object[] args, Locale locale); List<Class<?>> getClasses();  }### Answer:
@Test public void shouldLoadExistingClassFromJavaFileName() throws Throwable { language.load_code_file("foo/java/lang/String.class"); }
@Test(expected = ClassNotFoundException.class) public void shouldFailToLoadMissingClassFromJavaFileName() throws Throwable { language.load_code_file("foo/java/lang/Strix.class"); }