
com.laamella.parameter_source.StubObjectParameterSource Maven / Gradle / Ivy
package com.laamella.parameter_source;
import java.util.Optional;
/**
* An object parameter source that returns the same object for all keys.
* Suggested use is testing.
*/
public class StubObjectParameterSource implements ObjectParameterSource {
private Object stubValue;
public StubObjectParameterSource(Object stubValue) {
this.stubValue = stubValue;
}
@Override
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy