assertSame(classInfo, method.getClassInfo());
assertNotSame(interfaceClassInfo, method.getClassInfo());
}
public void testReadInvalidByteCodeClassFile() throws Exception {
ClassRepository repo = new JavaClassRepository(new DirectoryClassPath(new File("classes-for-test")));
try {
repo.getClass("invalidByteCode");
fail();
} catch (ClassNotFoundException e) {
}