예제 #1
0
        public void GetResponseDtoType__ThrowsArguementNullExceptionOnNullContext()
        {
            Action comparison = () => { RServiceHttpContextExtensions.GetResponseDtoType(null); };

            comparison.ShouldThrow <ArgumentNullException>();
        }
예제 #2
0
        public void GetServiceMethodActivator__ThrowsArguementNullExceptionOnNullContext()
        {
            Action comparison = () => { RServiceHttpContextExtensions.GetServiceMethodActivator(null); };

            comparison.ShouldThrow <ArgumentNullException>();
        }
예제 #3
0
        public void GetRequestSerializationProvider__ThrowsArguementNullExceptionOnNullContext()
        {
            Action comparison = () => { RServiceHttpContextExtensions.GetRequestSerializationProvider(null); };

            comparison.ShouldThrow <ArgumentNullException>();
        }