private Dictionary <Node, LWW_RegisterService <TestType> > CreateCommutativeReplicas(List <Node> nodes)
        {
            var dictionary = new Dictionary <Node, LWW_RegisterService <TestType> >();

            foreach (var node in nodes)
            {
                var repository = new LWW_RegisterRepository();
                var service    = new LWW_RegisterService <TestType>(repository);

                dictionary.Add(node, service);
            }

            return(dictionary);
        }
 public LWW_RegisterServiceTests()
 {
     _repository = new LWW_RegisterRepository();
     _service    = new LWW_RegisterService <TestType>(_repository);
     _builder    = new TestTypeBuilder(new Random());
 }