class JedisPoolFacade extends AbstractJedisFacade {

  @Override
  public Long publish(byte[] channel, byte[] message) {
    return jedis().publish(channel, message);
  }

}

class TestJedisPoolFacade {

  private Pool<Jedis> pool;
  private JedisPoolFacade rf;
  private Jedis jedis;

  @Test
  public void testPublish() {

    byte[] channel = new byte[]{};
    byte[] message = new byte[]{};
    rf.publish(channel, message);
    verify(jedis).publish(channel, message);
  }

}