public void Source() { // Arrange var viewWrapper = new ViewWrapper(frameworkElement); // Assert Assert.That(viewWrapper.Source, Is.EqualTo(frameworkElement)); }
public void Source() { // ARRANGE var viewWrapper = new ViewWrapper(frameworkElement); // ASSERT Assert.That(viewWrapper.Source, Is.EqualTo(frameworkElement)); }
public void EqualsOverride() { // Arrange var viewWrapperA = new ViewWrapper(frameworkElement); var viewWrapperB = new ViewWrapper(frameworkElement); // Act bool equals = viewWrapperA.Equals(viewWrapperB); // Assert Assert.That(equals, Is.True); }
public void EqualsOverride() { // ARRANGE var viewWrapperA = new ViewWrapper(frameworkElement); var viewWrapperB = new ViewWrapper(frameworkElement); // ACT bool equals = viewWrapperA.Equals(viewWrapperB); // ASSERT Assert.That(equals, Is.True); }
public void GetHashCodeOverride() { // Arrange var viewWrapperA = new ViewWrapper(frameworkElement); var viewWrapperB = new ViewWrapper(frameworkElement); // Act int hashCodeA = viewWrapperA.GetHashCode(); int hashCodeB = viewWrapperB.GetHashCode(); // Assert Assert.That(hashCodeA, Is.EqualTo(hashCodeB)); }
public void GetHashCodeOverride() { // ARRANGE var viewWrapperA = new ViewWrapper(frameworkElement); var viewWrapperB = new ViewWrapper(frameworkElement); // ACT int hashCodeA = viewWrapperA.GetHashCode(); int hashCodeB = viewWrapperB.GetHashCode(); // ASSERT Assert.That(hashCodeA, Is.EqualTo(hashCodeB)); }