@Test
public void testSpyMatchClazzByMethodSignatureWithBasicTypes() {
SpyMatcherSet sms = new SpyMatcherSet(
spy.byMethod(0, "**", "paramMethod*", "void", "boolean"));
assertTrue(sms.classMatch(TestClass1.class, true));
assertFalse(sms.classMatch(TestClass2.class, true));
}
@Test
public void testSpyMatchClassByMethodSignatureWithClassTypes() {
SpyMatcherSet sms = new SpyMatcherSet(