private void OnItemChanged(object value)
        {
            Contract.Requires(value != null);
            IDictionary <string, object> eventDictionary = (IDictionary <string, object>)value;

            if (eventDictionary.ContainsKey("DataObject"))
            {
                var tmp = eventDictionary["DataObject"];
                DataObject = tmp;
                DomainWrapper wrapper = tmp as DomainWrapper;
                if (wrapper != null)
                {
                    DirInfo = wrapper.Value;
                }
                Contract.Requires(DataObject != null);
            }
        }
        public DirectionInfoViewModelMock()
        {
            DirectionObject entity = new DirectionObject();

            entity.DIR2_PAGO   = "Calle Paris 57";
            entity.DIR_PAGO    = "Avenida Roma 34";
            entity.FAX_PAGO    = "+3493893489";
            entity.MAIL_PAGO   = "*****@*****.**";
            entity.PAIS_PAGO   = "44";
            entity.POB_PAGO    = "01";
            entity.PROV_PAGO   = "01";
            entity.TELF_PAGO   = "+3458598595";
            _dataObject        = new DomainWrapper();
            _dataObject.Value  = entity;
            AssistCommand      = new DelegateCommand <object>(OnAssist);
            ItemChangedCommand = new DelegateCommand <object>(OnItemChanged);
            DataObject         = _dataObject;
        }