public void IfEntitySetSpecifiedThenComputedtypeMustBeEntityOrUnknown()
        {
            Action create = () => new OperationImportSegment(HardCodedTestModel.GetAllFunctionImportsForGetMostImportantPerson()[0], HardCodedTestModel.GetDogsSet());

            create.ShouldThrow <ODataException>().WithMessage("The return type from the operation is not possible with the given entity set.");
        }