public DeltaHeightRequestObserverTests() { _testScheduler = new TestScheduler(); _subbedLogger = Substitute.For <ILogger>(); var peerSettings = PeerIdHelper.GetPeerId("sender").ToSubstitutedPeerSettings(); _deltaHeightRequestObserver = new DeltaHeightRequestObserver(peerSettings, _subbedLogger ); }
public DeltaHeightRequestObserverTests() { _testScheduler = new TestScheduler(); _subbedLogger = Substitute.For <ILogger>(); var peerSettings = PeerIdHelper.GetPeerId("sender").ToSubstitutedPeerSettings(); _deltaHeightRequestObserver = new DeltaHeightRequestObserver(peerSettings, Substitute.For <IDeltaIndexService>(), new TestMapperProvider(), new Abstractions.Sync.SyncState() { IsSynchronized = true }, _subbedLogger ); }