}
private static List<MethodEntry> mockMethods(String className, String... methodNames) {
List<MethodEntry> entries = Lists.newArrayList();
for (String methodName : methodNames) {
MethodEntry entry = mock(MethodEntry.class);
when(entry.getClassName()).thenReturn(className);
when(entry.getMethodName()).thenReturn(methodName);
entries.add(entry);
}
return entries;
}