// Path: src/main/java/com/zuoxiaolong/deerlet/redis/client/command/Cursor.java
// public interface Cursor {
// 
// 	List<Integer> getCursorList();
// 	
// 	List<String> getResultList();
// 	
// 	
// }
// 
// Path: src/main/java/com/zuoxiaolong/deerlet/redis/client/command/ObjectSubcommands.java
// public enum ObjectSubcommands {
// 
// 	refcount,idletime,encoding
// 	
// }
// 
// Path: src/main/java/com/zuoxiaolong/deerlet/redis/client/command/Types.java
// public enum Types {
// 
// 	none,string,list,set,zset,hash
// 	
// }


import com.zuoxiaolong.deerlet.redis.client.command.Cursor;
import com.zuoxiaolong.deerlet.redis.client.command.ObjectSubcommands;
import com.zuoxiaolong.deerlet.redis.client.command.Types;
import junit.framework.Assert;
import org.junit.Test;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.util.List;
		}
		List<String> list = deerletRedisClient.keys("*");
		Assert.assertNotNull(list);
		Assert.assertEquals(1000, list.size());
		for (int i = 0; i < 1000; i++) {
			Assert.assertEquals(true, list.contains("testKey" + i));
		}
	}
	
	@Test
	public void testMigrate() {
		Assert.assertTrue(deerletRedisClient.set("testKey", "TestValue"));
		Assert.assertTrue(deerletRedisClient.migrate("localhost", "6666", "testKey", 0, -1));
		Assert.assertEquals("TestValue", otherDeerletRedisClient.get("testKey"));
		Assert.assertNull(deerletRedisClient.get("testKey"));
	}
	
	@Test
	public void testMove() {
		Assert.assertTrue(deerletRedisClient.set("testKey", "TestValue"));
		Assert.assertTrue(deerletRedisClient.move("testKey", 1));
		Assert.assertTrue(deerletRedisClient.select(1));
		Assert.assertEquals("TestValue", deerletRedisClient.get("testKey"));
		Assert.assertTrue(deerletRedisClient.select(0));
		Assert.assertNull(deerletRedisClient.get("testKey"));
	}
	
	@Test
	public void testObject() throws InterruptedException {
		Assert.assertTrue(deerletRedisClient.set("testKey", "TestValue"));
// Path: src/main/java/com/zuoxiaolong/deerlet/redis/client/command/Cursor.java
// public interface Cursor {
// 
// 	List<Integer> getCursorList();
// 	
// 	List<String> getResultList();
// 	
// 	
// }
// 
// Path: src/main/java/com/zuoxiaolong/deerlet/redis/client/command/ObjectSubcommands.java
// public enum ObjectSubcommands {
// 
// 	refcount,idletime,encoding
// 	
// }
// 
// Path: src/main/java/com/zuoxiaolong/deerlet/redis/client/command/Types.java
// public enum Types {
// 
// 	none,string,list,set,zset,hash
// 	
// }


// Path: src/test/java/com/zuoxiaolong/deerlet/redis/client/DeerletRedisClientKeyTest.java
import com.zuoxiaolong.deerlet.redis.client.command.Cursor;
import com.zuoxiaolong.deerlet.redis.client.command.ObjectSubcommands;
import com.zuoxiaolong.deerlet.redis.client.command.Types;
import junit.framework.Assert;
import org.junit.Test;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.util.List;

		}
		List<String> list = deerletRedisClient.keys("*");
		Assert.assertNotNull(list);
		Assert.assertEquals(1000, list.size());
		for (int i = 0; i < 1000; i++) {
			Assert.assertEquals(true, list.contains("testKey" + i));
		}
	}
	
	@Test
	public void testMigrate() {
		Assert.assertTrue(deerletRedisClient.set("testKey", "TestValue"));
		Assert.assertTrue(deerletRedisClient.migrate("localhost", "6666", "testKey", 0, -1));
		Assert.assertEquals("TestValue", otherDeerletRedisClient.get("testKey"));
		Assert.assertNull(deerletRedisClient.get("testKey"));
	}
	
	@Test
	public void testMove() {
		Assert.assertTrue(deerletRedisClient.set("testKey", "TestValue"));
		Assert.assertTrue(deerletRedisClient.move("testKey", 1));
		Assert.assertTrue(deerletRedisClient.select(1));
		Assert.assertEquals("TestValue", deerletRedisClient.get("testKey"));
		Assert.assertTrue(deerletRedisClient.select(0));
		Assert.assertNull(deerletRedisClient.get("testKey"));
	}
	
	@Test
	public void testObject() throws InterruptedException {
		Assert.assertTrue(deerletRedisClient.set("testKey", "TestValue"));
		Assert.assertEquals(1, deerletRedisClient.object(ObjectSubcommands.refcount, "testKey"));