Example #1
0
        public void AddNoReply()
        {
            var addBuilder = new StoreRequestBuilder("add", "key", "value");

            addBuilder.NoReply();

            var response = Dispatch(addBuilder.ToAsciiRequest());

            Assert.AreEqual("", response.ToAsciiString());
        }
Example #2
0
        public void PrependNoReply()
        {
            var prependBuilder = new StoreRequestBuilder("prepend", "key", "value");

            prependBuilder.NoReply();

            var response = Dispatch(prependBuilder.ToAsciiRequest());

            Assert.AreEqual("", response.ToAsciiString());
        }
Example #3
0
        public void ReplaceNoReply()
        {
            var replaceBuilder = new StoreRequestBuilder("replace", "key", "value");

            replaceBuilder.NoReply();

            var response = Dispatch(replaceBuilder.ToAsciiRequest());

            Assert.AreEqual("", response.ToAsciiString());
        }
Example #4
0
        public void SetNoReply()
        {
            var setBuilder = new StoreRequestBuilder("set", "key", "value");

            setBuilder.NoReply();

            var response = Dispatch(setBuilder.ToAsciiRequest());

            Assert.AreEqual("", response.ToAsciiString());
        }