public void testMatchMethodName1() {
ClassPattern classPattern = Pattern.compileClassPattern("foo.bar.SomeClass");
assertFalse(classPattern.matches("SomeClass"));
assertTrue(classPattern.matches("foo.bar.SomeClass"));
assertFalse(classPattern.matches("Class"));
assertFalse(classPattern.matches(""));
}
public void testMatchMethodName2() {
ClassPattern classPattern = Pattern.compileClassPattern("foo.bar.*");