I consider it a good idea to fake the interface in such cases.
interface SignalInformation{ float signalStrength();
Create some dummy class for bullying, and then change it to a real working class.
class MockSignal implements SignalInformation{ public float signalStrength(){ return 3.5;
Ok, hope you have an idea.
source share