* Every time the {@link Dependency#getData()} method is invoked we return a
* custom instance of a {@link DataObject}.
*/
public void applyInterceptionPolicy(MockPolicyInterceptionSettings settings) {
final Method getDataMethod = Whitebox.getMethod(Dependency.class);
final DataObject dataObject = new DataObject("Policy generated data object");
settings.stubMethod(getDataMethod, dataObject);
}