public interface ClassReplaceStrategy
Modifier and Type | Method and Description |
---|---|
void |
with(Class<?> cls)
Replaces all method invocations on class specified class with method
invocation to
cls . |
void with(Class<?> cls)
cls
. Also replaces all constructor
invocations. You can see this as duck typing.cls
- The class that will replace the other class.Copyright © 2019. All rights reserved.