Beispiel #1
0
        public void SourceOfComposableFunctionThrowsIfNotMapped()
        {
            var api       = new TestApiEmpty();
            var context   = api.Context;
            var arguments = new object[0];

            Assert.Throws <NotSupportedException>(() => context.GetQueryableSource("Namespace", "Function", arguments));
        }
Beispiel #2
0
        public void SourceOfEntityContainerElementThrowsIfNotMapped()
        {
            var api       = new TestApiEmpty();
            var context   = api.Context;
            var arguments = new object[0];

            Assert.Throws <NotSupportedException>(() => context.GetQueryableSource("Test", arguments));
        }