### Question:
JedisNodeClient implements JedisClient { @Override public void del(String sessionsKey, String key) { try(Jedis jedis = this.jedisPool.getResource()) { Transaction t = jedis.multi(); t.srem(sessionsKey, key); t.del(key); t.exec(); } } JedisNodeClient(JedisPool jedisPool); @Override Set<String> getSessions(String sessionsKey); @Override void del(String sessionsKey, String key); @Override Integer count(String sessionsKey); @Override byte[] get(String key); @Override void set(String key, String sessionsKey, byte[] session, int timeout); @Override void clean(String sessionsKey); @Override void close();  }### Answer:
@Test public void del() { this.jedisNodeClient.del(SESSIONS_KEY, "key"); verify(this.transaction, times(1)).srem(SESSIONS_KEY, "key"); verify(this.transaction, times(1)).del("key"); verify(this.transaction, times(1)).exec(); verify(this.jedis, times(1)).close(); }