public interface MockPolicyInitializer
Modifier and Type | Method and Description |
---|---|
void |
initialize(ClassLoader classLoader)
Initializes the mock policies for a given class loader.
|
boolean |
isPrepared(String fullyQualifiedClassName) |
boolean |
needsInitialization() |
void initialize(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(String fullyQualifiedClassName)
true
if the class with the fully-qualified name of
fullyQualifiedClassName
was prepared for testing by
this mock policy initializer.Copyright © 2007-2017. All Rights Reserved.