public void Get_URI_AsyncIsNotSupported()
        {
            var service = new CategoryRegisterService(null, null);

            var ex = Assert.Throws<AggregateException>(() => service.GetAsync(null, null, null).Wait());
            Assert.IsInstanceOf<NotSupportedException>(ex.InnerException);
        }
        public void Get_URI_AsyncIsNotSupported()
        {
            var service = new CategoryRegisterService(null, null);

            var ex = Assert.Throws <AggregateException>(() => service.GetAsync(null, null, null).Wait());

            Assert.IsInstanceOf <NotSupportedException>(ex.InnerException);
        }
        public void Get_URI_DelegateIsNotSupported()
        {
            var service = new CategoryRegisterService(null, null);

            Assert.Throws<NotSupportedException>(() => service.Get(null, null, null, (code, s) => { }, (uri, exception) => { }));
        }
        public void Get_URI_SyncIsNotSupported()
        {
            var service = new CategoryRegisterService(null, null);

            Assert.Throws<NotSupportedException>(() => service.Get(null, null, null));
        }
        public void Get_URI_DelegateIsNotSupported()
        {
            var service = new CategoryRegisterService(null, null);

            Assert.Throws <NotSupportedException>(() => service.Get(null, null, null, (code, s) => { }, (uri, exception) => { }));
        }
        public void Get_URI_SyncIsNotSupported()
        {
            var service = new CategoryRegisterService(null, null);

            Assert.Throws <NotSupportedException>(() => service.Get(null, null, null));
        }