public void InequalityIsCorrect()
        {
            OperationImportSegment operationSegment1 = new OperationImportSegment(new List <IEdmOperationImport>()
            {
                HardCodedTestModel.GetFunctionImportForGetCoolestPerson()
            }, HardCodedTestModel.GetPeopleSet());
            OperationImportSegment operationSegment2 = new OperationImportSegment(new List <IEdmOperationImport>()
            {
                HardCodedTestModel.GetFunctionImportForGetCoolestPerson()
            }, null);
            OperationImportSegment operationSegment3 = new OperationImportSegment(new List <IEdmOperationImport>()
            {
                HardCodedTestModel.GetFunctionImportForGetCoolPeople()
            }, HardCodedTestModel.GetPeopleSet());
            BatchSegment segment = BatchSegment.Instance;

            operationSegment1.Equals(operationSegment2).Should().BeFalse();
            operationSegment1.Equals(operationSegment3).Should().BeFalse();
            operationSegment1.Equals(segment).Should().BeFalse();
        }
        public void EqualityIsCorrect()
        {
            OperationImportSegment segment1 = new OperationImportSegment(new List <IEdmOperationImport>()
            {
                HardCodedTestModel.GetFunctionImportForGetCoolestPerson()
            }, HardCodedTestModel.GetPeopleSet());
            OperationImportSegment segment2 = new OperationImportSegment(new List <IEdmOperationImport>()
            {
                HardCodedTestModel.GetFunctionImportForGetCoolestPerson()
            }, HardCodedTestModel.GetPeopleSet());

            segment1.Equals(segment2).Should().BeTrue();
        }
 public void InequalityIsCorrect()
 {
     OperationImportSegment operationSegment1 = new OperationImportSegment(new List<IEdmOperationImport>() { HardCodedTestModel.GetFunctionImportForGetCoolestPerson() }, HardCodedTestModel.GetPeopleSet());
     OperationImportSegment operationSegment2 = new OperationImportSegment(new List<IEdmOperationImport>() { HardCodedTestModel.GetFunctionImportForGetCoolestPerson() }, null);
     OperationImportSegment operationSegment3 = new OperationImportSegment(new List<IEdmOperationImport>() { HardCodedTestModel.GetFunctionImportForGetCoolPeople() }, HardCodedTestModel.GetPeopleSet());
     BatchSegment segment = BatchSegment.Instance;
     operationSegment1.Equals(operationSegment2).Should().BeFalse();
     operationSegment1.Equals(operationSegment3).Should().BeFalse();
     operationSegment1.Equals(segment).Should().BeFalse();
 }
 public void EqualityIsCorrect()
 {
     OperationImportSegment segment1 = new OperationImportSegment(new List<IEdmOperationImport>() { HardCodedTestModel.GetFunctionImportForGetCoolestPerson() }, HardCodedTestModel.GetPeopleSet());
     OperationImportSegment segment2 = new OperationImportSegment(new List<IEdmOperationImport>() { HardCodedTestModel.GetFunctionImportForGetCoolestPerson() }, HardCodedTestModel.GetPeopleSet());
     segment1.Equals(segment2).Should().BeTrue();
 }