Exemplo n.º 1
0
        public void SaveValueAndIsRowEditModeActiveTrueAndInterimTrue()
        {
            _bocList.DataSource = _dataSource;
            _bocList.Property   = _propertyReferenceList;
            _bocList.Value      = new[] { TypeWithReference.Create() };
            _bocList.SwitchRowIntoEditMode(0);
            Assert.That(_bocList.IsRowEditModeActive, Is.True);

            var result = _bocList.SaveValue(true);

            Assert.That(result, Is.True);
            Assert.That(_bocList.IsRowEditModeActive, Is.True);
        }