public void TryMatch_ReturnsTrue_IfSameUnboundFunction()
        {
            // Arrange
            IEdmFunctionImport         function = _container.FindOperationImports("TopCustomer").SingleOrDefault() as IEdmFunctionImport;
            UnboundFunctionPathSegment template = new UnboundFunctionPathSegment(function, _model, parameterValues: null);
            UnboundFunctionPathSegment segment  = new UnboundFunctionPathSegment(function, _model, parameterValues: null);

            // Act
            Dictionary <string, object> values = new Dictionary <string, object>();
            bool result = template.TryMatch(segment, values);

            // Assert
            Assert.True(result);
            Assert.Empty(values);
        }
        public void TryMatch_ReturnsTrue_IfSameUnboundFunction()
        {
            // Arrange
            IEdmFunctionImport function = _container.FindOperationImports("TopCustomer").SingleOrDefault() as IEdmFunctionImport;
            UnboundFunctionPathSegment template = new UnboundFunctionPathSegment(function, _model, parameterValues: null);
            UnboundFunctionPathSegment segment = new UnboundFunctionPathSegment(function, _model, parameterValues: null);

            // Act
            Dictionary<string, object> values = new Dictionary<string, object>();
            bool result = template.TryMatch(segment, values);

            // Assert
            Assert.True(result);
            Assert.Empty(values);
        }