assertTrue(methodPattern.matchParameterTypes(
new String[]{}));
}
public void testMatchParameterTypes4() {
MethodPattern methodPattern = Pattern.compileMethodPattern("* method(java.lang.*)");
assertFalse(methodPattern.matchParameterTypes(
new String[]{"java.lang.String","java.lang.StringBuffer"}));
assertTrue(methodPattern.matchParameterTypes(
new String[]{"java.lang.String"}));
assertTrue(methodPattern.matchParameterTypes(
new String[]{"java.lang.StringBuffer"}));
assertFalse(methodPattern.matchParameterTypes(
new String[]{}));
}