Suppose I have the following method structure:
protected static void sub(Object obj, String filler) {
class cls = obj.getClass();
BeanInfo beanInfo = Introspector.getBeanInfo(cls);
// Other code...
}
How do I mock the BeanInfo class given this structure?
Aucun commentaire:
Enregistrer un commentaire