@@ -0,0 +1,1216 @@
+package org.sagebionetworks.bridge.redis;%0A%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.times;%0Aimport static org.mockito.Mockito.verify;%0Aimport static org.mockito.Mockito.when;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport redis.clients.jedis.Jedis;%0Aimport redis.clients.jedis.JedisPool;%0A%0Apublic class JedisOpsTest %7B%0A%0A    private Jedis jedis;%0A    private JedisOps ops;%0A%0A    @Before%0A    public void before() %7B%0A        jedis = mock(Jedis.class);%0A        JedisPool pool = mock(JedisPool.class);%0A        when(pool.getResource()).thenReturn(jedis);%0A        ops = new JedisOps(pool);%0A    %7D%0A%0A    @Test%0A    public void testZadd() %7B%0A        ops.zadd(%22key%22, 1.1, %22member%22);%0A        verify(jedis, times(1)).zadd(%22key%22, 1.1, %22member%22);%0A    %7D%0A%0A    @Test%0A    public void testZscore() %7B%0A        ops.zscore(%22key%22, %22member%22);%0A        verify(jedis, times(1)).zscore(%22key%22, %22member%22);%0A    %7D%0A%0A    @Test%0A    public void testZrank() %7B%0A        ops.zrank(%22key%22, %22member%22);%0A        verify(jedis, times(1)).zrank(%22key%22, %22member%22);%0A    %7D%0A%0A    @Test%0A    public void testZrangeByScore() %7B%0A        ops.zrangeByScore(%22key%22, 1.1, 1.2);%0A        verify(jedis, times(1)).zrangeByScore(%22key%22, 1.1, 1.2);%0A    %7D%0A%7D%0A

Add tests to the sorted set commands