public void UpdateSourceValueShouldFail() { _testEntityTarget.TestField1 = TestEntityNewValue; var updateSuccessful = _binding.UpdateSourceValue(); updateSuccessful.Should().BeFalse(); }
public void ItShouldUpdateTheSourceProperty() { _testEntityTarget.TestField3.Clear(); Array.ForEach(TestEntityNewList, value => _testEntityTarget.TestField3.Add(value)); _binding.UpdateSourceValue(); _testEntitySource.TestField3.Should().ContainInOrder(TestEntityNewList); }
public void UpdateSourceValueShouldUpdateTheSourceProperty() { _testEntityTarget.TestField1 = TestEntityNewValue; _binding.UpdateSourceValue(); _testEntitySource.TestField1.Should().Be(TestEntityNewValue); }