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>();
versions.put(just(6), standard);
StandardClassProvider provider = createMock(StandardClassProvider.class);
expect(provider.loadClassInfo("java.lang.String")).andReturn(versions);
replay(provider);
ProviderFactory.setStandardProvider(provider);
MissingMethodChecker checker = new MissingMethodChecker();
assertFalse(checker.check(model));