public void ParametersSetCorrectly()
        {
            OperationImportSegment segment = new OperationImportSegment(new List <IEdmOperationImport>()
            {
                HardCodedTestModel.GetFunctionImportForGetCoolestPerson()
            },
                                                                        HardCodedTestModel.GetPeopleSet(),
                                                                        new[] { new OperationSegmentParameter("stuff", new ConstantNode(new ODataPrimitiveValue(true))), });

            segment.ShouldHaveConstantParameter("stuff", new ODataPrimitiveValue(true));
        }
 public void ParametersSetCorrectly()
 {
     OperationImportSegment segment = new OperationImportSegment(new List<IEdmOperationImport>() { HardCodedTestModel.GetFunctionImportForGetCoolestPerson() },
         HardCodedTestModel.GetPeopleSet(),
         new[] { new OperationSegmentParameter("stuff", new ConstantNode(new ODataPrimitiveValue(true))), });
     segment.ShouldHaveConstantParameter("stuff", new ODataPrimitiveValue(true));
 }