public void InequalityCorrect() { NavigationPropertyLinkSegment navigationPropertyLinkSegment1 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetPersonMyDogNavProp(), null); NavigationPropertyLinkSegment navigationPropertyLinkSegment3 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetDogMyPeopleNavProp(), null); BatchSegment segment3 = BatchSegment.Instance; navigationPropertyLinkSegment1.Equals(navigationPropertyLinkSegment3).Should().BeFalse(); navigationPropertyLinkSegment1.Equals(segment3).Should().BeFalse(); }
public void InequalityCorrect() { NavigationPropertyLinkSegment navigationPropertyLinkSegment1 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetPersonMyDogNavProp(), null); NavigationPropertyLinkSegment navigationPropertyLinkSegment3 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetDogMyPeopleNavProp(), null); BatchSegment segment3 = BatchSegment.Instance; navigationPropertyLinkSegment1.Equals(navigationPropertyLinkSegment3).Should().BeFalse(); navigationPropertyLinkSegment1.Equals(segment3).Should().BeFalse(); }
public void EqualityCorrect() { NavigationPropertyLinkSegment navigationPropertyLinkSegment1 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetPersonMyDogNavProp(), null); NavigationPropertyLinkSegment navigationPropertyLinkSegment2 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetPersonMyDogNavProp(), null); navigationPropertyLinkSegment1.Equals(navigationPropertyLinkSegment2).Should().BeTrue(); }
public void EqualityCorrect() { NavigationPropertyLinkSegment navigationPropertyLinkSegment1 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetPersonMyDogNavProp(), null); NavigationPropertyLinkSegment navigationPropertyLinkSegment2 = new NavigationPropertyLinkSegment(HardCodedTestModel.GetPersonMyDogNavProp(), null); navigationPropertyLinkSegment1.Equals(navigationPropertyLinkSegment2).Should().BeTrue(); }