public void testMatchMethodName3() {
ClassPattern classPattern = Pattern.compileClassPattern("foo.*.bar.SomeClass");
assertTrue(classPattern.matches("foo.hey.bar.SomeClass"));
assertTrue(classPattern.matches("foo.there.bar.SomeClass"));
assertFalse(classPattern.matches("SomeClass"));
assertFalse(classPattern.matches(""));
}
public void testMatchMethodName4() {
ClassPattern classPattern = Pattern.compileClassPattern("foo.ba*.*");
assertTrue(classPattern.matches("foo.bag.SomeClass"));