5354555657585960
new KeysDAORedisImpl(null, null); } @Test(expected = IllegalArgumentException.class) public void testConstructor_NullPool() { final Config config = new ConfigBuilder().build(); new KeysDAORedisImpl(config, null); }
5758596061626364
new WorkerInfoDAORedisImpl(null, null); } @Test(expected = IllegalArgumentException.class) public void testConstructor_NullPool() { final Config config = new ConfigBuilder().build(); new WorkerInfoDAORedisImpl(config, null); }
6768697071727374
new QueueInfoDAORedisImpl(null, null); } @Test(expected = IllegalArgumentException.class) public void testConstructor_NullPool() { final Config config = new ConfigBuilder().build(); new QueueInfoDAORedisImpl(config, null); }
979899100101102103104
PoolUtils.createJedisPool(null); } @Test public void testCreateJedisPool() { final Config config = new ConfigBuilder().build(); Assert.assertNotNull(PoolUtils.createJedisPool(config)); }
103104105106107108109110
Assert.assertNotNull(PoolUtils.createJedisPool(config)); } @Test(expected = IllegalArgumentException.class) public void testCreateJedisPool_NullPoolConfig() { final Config config = new ConfigBuilder().build(); PoolUtils.createJedisPool(config, null); }
6364656667686970
new FailureDAORedisImpl(null, null); } @Test(expected = IllegalArgumentException.class) public void testConstructor_NullPool() { final Config config = new ConfigBuilder().build(); new FailureDAORedisImpl(config, null); }