public void WillLetMasterKnowItCaughtUp() { node.DoneReplicatingSegments(ReplicationType.Ownership, new[] { 0 }); master.AssertWasCalled(x => x.CaughtUp(node.Endpoint, ReplicationType.Ownership, 0)); }
public void ShouldJoinMasterOnStart() { node.Start(); master.AssertWasCalled(x => x.Join(node.Endpoint)); }