Assert.assertTrue(sms.methodMatch("some.Class$1", null, null, 1, "run", "()V", null));
}
@Test
public void testMatchFilterWithPriorities() {
SpyMatcherSet sms = new SpyMatcherSet(
spy.byClass("**").priority(1000),
spy.byClass("com.jitlogic.**").exclude(),
spy.byClass("com.jitlogic.TestClazz").priority(10)
);
assertTrue(sms.classMatch("java.lang.Integer"));
assertFalse(sms.classMatch("com.jitlogic.zorka.core.spy.SpyProcessor"));
assertTrue(sms.classMatch("com.jitlogic.TestClazz"));
}