|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MockPolicyInitializer
A Mock Policy initializer takes care of initializing the behavior defined by the mock policies.
| Method Summary | |
|---|---|
void |
initialize(java.lang.ClassLoader classLoader)
Initializes the mock policies for a given class loader. |
boolean |
isPrepared(java.lang.String fullyQualifiedClassName)
|
boolean |
needsInitialization()
|
| Method Detail |
|---|
void initialize(java.lang.ClassLoader classLoader)
classLoader) that you pass in to this method.
Note that if the class-loader is not an instance of
MockClassLoader this method will return silently.
boolean needsInitialization()
true if a client needs to perform initialization for
this MockPolicyInitializer, false otherwise.boolean isPrepared(java.lang.String fullyQualifiedClassName)
true if the class with the fully-qualified name of
fullyQualifiedClassName was prepared for testing by
this mock policy initializer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||