@@ -0,0 +1,1055 @@
+package com.westudio.java.etcd;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.net.URI;%0Aimport java.util.List;%0A%0Apublic class EtcdInOrderTest %7B%0A%0A    private EtcdClient client;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        this.client = new EtcdClient(URI.create(%22http://127.0.0.1:4001/%22));%0A    %7D%0A%0A    @Test%0A    public void testInOrderKeys() throws Exception %7B%0A        String key = %22/queue%22;%0A%0A        EtcdResponse result;%0A%0A        result = this.client.inOrderKeys(key, %22Job1%22);%0A        Assert.assertEquals(result.node.value, %22Job1%22);%0A        int k1 = Integer.valueOf(result.node.key.substring(result.node.key.lastIndexOf(%22/%22) + 1));%0A        result = this.client.inOrderKeys(key, %22Job2%22);%0A        Assert.assertEquals(result.node.value, %22Job2%22);%0A        int k2 = Integer.valueOf(result.node.key.substring(result.node.key.lastIndexOf(%22/%22) + 1));%0A        Assert.assertTrue(k2 %3E k1);%0A%0A        List%3CEtcdNode%3E nodes = this.client.listInOrderKeys(key);%0A        Assert.assertTrue(nodes.size() == 2);%0A    %7D%0A%7D%0A

add the EtcdInOrderTest….