*/
@SuppressWarnings("unchecked")
private static Class<? extends PowerMockPolicy>[] getMockPolicies(Class<?> testClass) {
Class<? extends PowerMockPolicy>[] powerMockPolicies = new Class[0];
if (testClass.isAnnotationPresent(MockPolicy.class)) {
MockPolicy annotation = testClass.getAnnotation(MockPolicy.class);
powerMockPolicies = annotation.value();
}
return powerMockPolicies;
}