assertTrue(classPattern.matches("foo.bar.Baz$Buzz"));
assertFalse(classPattern.matches("foo.bar.Baz"));
}
public void testMatchClassName10() {
TypePattern classPattern = Pattern.compileTypePattern("foo.bar..$Buzz", SubtypePatternType.NOT_HIERARCHICAL);
assertTrue(classPattern.matches("foo.bar.Baz$Buzz"));
assertTrue(classPattern.matches("foo.bar.Baz.Buz$Buzz"));
assertFalse(classPattern.matches("foo.bar.Baz.Buz$Buz"));
assertFalse(classPattern.matches("foo.bar.Baz"));
}