|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicInstantiator
Comes in handy for (unit) testing if you want to mock out instantiation of third party classes. This type especially solves the problem of third party classes' constructor executing some logic.
Method Summary | ||
---|---|---|
|
create(ClassAdapter<T> clazz,
Object... arguments)
|
Method Detail |
---|
<T> T create(ClassAdapter<T> clazz, Object... arguments)
DynamicInstantiationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |