public Collaborators(AssociationRegistry registry, TestTransport transport, TestAssociationHandle handle, TestFailureDetector failureDetector) { FailureDetector = failureDetector; Handle = handle; Transport = transport; Registry = registry; }
public Collaborators GetCollaborators() { var registry = new AssociationRegistry(); var transport = new TestTransport(localAddress, registry); var handle = new TestAssociationHandle(localAddress, remoteAddress, transport, true); transport.WriteBehavior.PushConstant(true); return new Collaborators(registry, transport, handle, new TestFailureDetector()); }
public Collaborators GetCollaborators() { var registry = new AssociationRegistry(); var transport = new TestTransport(localAddress, registry); var handle = new TestAssociationHandle(localAddress, remoteAddress, transport, true); transport.WriteBehavior.PushConstant(true); return(new Collaborators(registry, transport, handle, new TestFailureDetector())); }