public void executeOperationTest()
        {
            TCPTransport trans = new TCPTransport(System.Net.IPAddress.Loopback, 11222);
            Codec        codec = new Codec();
            Serializer   s     = new DefaultSerializer();

            byte[] key   = s.serialize("key12");
            byte[] value = s.serialize("trinitrotoluene");

            byte[] cacheName  = null;
            int    topologyId = 0;

            Flag[] flags = null;

            int  lifespan = 0;
            int  maxIdle  = 0;
            long version  = 0;
            ReplaceIfUnmodifiedOperation target = new ReplaceIfUnmodifiedOperation(codec, key, cacheName, topologyId, flags, value, lifespan, maxIdle, version);
            Transport transport = trans;
            VersionedOperationResponse expected = null;
            VersionedOperationResponse actual;

            actual = target.executeOperation(transport);
            Assert.AreEqual(expected, actual.isUpdated());
        }
        public void executeOperationTest()
        {
            TCPTransport trans = new TCPTransport(System.Net.IPAddress.Loopback, 11222);
            Codec codec = new Codec();
            Serializer s = new DefaultSerializer();
            byte[] key = s.serialize("key12");
            byte[] value = s.serialize("trinitrotoluene");

            byte[] cacheName = null;
            int topologyId = 0;
            Flag[] flags = null;

            int lifespan = 0;
            int maxIdle = 0;
            long version = 0;
            ReplaceIfUnmodifiedOperation target = new ReplaceIfUnmodifiedOperation(codec, key, cacheName, topologyId, flags, value, lifespan, maxIdle, version);
            Transport transport = trans;
            VersionedOperationResponse expected = null;
            VersionedOperationResponse actual;
            actual = target.executeOperation(transport);
            Assert.AreEqual(expected, actual.isUpdated());
        }