public void testNotAssignable() throws Exception {
CompilerAssert<File, File> compiler = compiler("plugin.binding.implementation.notassignable");
compiler.formalErrorReporting(true);
List<CompilationError> errors = compiler.failCompile();
assertEquals(1, errors.size());
CompilationError error = errors.get(0);
assertEquals(BindingMetaModelPlugin.IMPLEMENTATION_NOT_ASSIGNABLE, error.getCode());
File f = compiler.getSourcePath().getPath("plugin", "binding", "implementation", "notassignable", "package-info.java");
assertEquals(f, error.getSourceFile());
}