assertTrue(checker.check(model));
}
@Test
public void testFailure1() {
ClassInfo model =
cls("java.lang.String",
method(PUBLIC, "java.lang.String", "toString", new String[]{}),
method(PUBLIC, "java.lang.String", "substring", new String[]{"int"})
);
ClassInfo standard =
cls("java.lang.String",
method(PUBLIC, "java.lang.String", "toString", new String[]{}),
method(PUBLIC, "java.lang.String", "substring", new String[]{"int","int"})
);
Map<MaybeVersion, ClassInfo> versions = new HashMap<MaybeVersion, ClassInfo>();