public EventDispatcher(IActorRef reader, GlobalOptions options) { _reader = reader; _options = options; var request = new ReadHighestGlobalSequenceRequest(); _reader.Tell(request); _requestId = request.RequestID; AwaitingGlobalSequence(); }
public void ReadHighestGlobalSequenceRequests_are_fowarded_to_worker() { var o = new TestContainer(this); var req = new ReadHighestGlobalSequenceRequest(); o.Reader.Tell(req); o.ReadHighestGlobalSequenceProbe.ExpectMsg<ReadHighestGlobalSequenceRequest>(m => m == req); }