public void Init()
 {
     Inititialize();
     _masterStub = Mocks.Stub<ISynchronizationAgent>();
     _slaveMock = Mocks.StrictMock<ISynchronizationAgent>();
     _propertyMap = new SynchronizationMap(_masterStub, _slaveMock);
     _synchronizer = new DataSynchronizer(_propertyMap, _masterStub, _slaveMock);
 }
 protected override DataSynchronizer CreatePropertyMap()
 {
     var propertyMap = new SynchronizationMap(EManagerAgent, WhiskWorkAgent);
     propertyMap.AddReciprocalEntry("name", "name");
     propertyMap.AddReciprocalEntry("unid", "unid");
     propertyMap.AddReciprocalEntry("title", "title");
     propertyMap.AddReciprocalEntry("team", "team");
     propertyMap.AddReciprocalEntry("release", "release");
     propertyMap.AddReciprocalEntry("project", "project");
     propertyMap.AddReciprocalEntry("leanstatus", "leanstatus");
     propertyMap.AddReciprocalEntry("priority", "priority");
     var propertySynchronizer = new DataSynchronizer(propertyMap, EManagerAgent, WhiskWorkAgent);
     propertySynchronizer.SynchronizeOrdinal = true;
     return propertySynchronizer;
 }
        private void SynchronizeResponsible()
        {
            var responsibleMap = new SynchronizationMap(_whiskWorkAgent, _eManagerAgent);
            responsibleMap.AddReciprocalEntry("unid", "unid");
            responsibleMap.AddReciprocalEntry("responsible", "CurrentPerson");
            var responsibleSynchronizer = new DataSynchronizer(responsibleMap, _whiskWorkAgent, _eManagerAgent);

            if (!_isSafeSynch)
            {
                Console.WriteLine("Synchronizing responsible whiteboard->eManager");
                responsibleSynchronizer.Synchronize();
            }
            else
            {
                Console.WriteLine("Synchronizing responsible whiteboard->eManager DISABLED!");
            }
        }