public void ResolveFunctionImportFromModelShouldReturnFunctionImportWhenNameIsFullyQualifiedAndFound()
        {
            IEdmOperationImport action1 = this.defaultContainer.ResolveOperationImports("Default.SimpleAction").Single();
            IEdmOperationImport action2 = this.defaultContainer.ResolveOperationImports("TestModel.Default.SimpleAction").Single();
            IEdmOperationImport action3 = this.defaultContainer.ResolveOperationImports("SimpleAction").Single();

            action1.Should().NotBeNull();
            action1.Should().Be(action2);
            action2.FullName().Should().Be("Default.SimpleAction");
            action3.Should().Be(action2);
        }
        public void ResolveFunctionImportFromContainerShouldReturnFunctionImportWhenNameIsFound()
        {
            IEdmOperationImport action = this.defaultContainer.ResolveOperationImports("SimpleAction").Single();

            action.Should().NotBeNull();
            action.FullName().Should().Be("Default.SimpleAction");

            action = this.defaultContainer.ResolveOperationImports("SimpleAction()").Single();
            action.Should().NotBeNull();
            action.FullName().Should().Be("Default.SimpleAction");

            this.defaultContainer.ResolveOperationImports("SimpleAction( )").Should().BeEmpty();
        }
        public void ResolveFunctionImportFromModelForFunctionImportWithOverloadAnd5Param()
        {
            IEdmOperationImport function = this.defaultContainer.ResolveOperationImports("Default.FunctionImportWithOverload(Collection(TestModel.Product),Collection(Edm.String),Edm.String,TestModel.MyComplexType,Collection(TestModel.MyComplexType))", true /*allowParameterTypes*/).Single();

            function.Should().Be(this.operationImportWithOverloadAnd5Params);
        }