JettySessionUtils { public static HazelcastInstance createHazelcastClientInstance() { return createHazelcastClientInstance(null); } private  JettySessionUtils(); static HazelcastInstance createHazelcastClientInstance(); static HazelcastInstance createHazelcastClientInstance(String configLocation); static HazelcastInstance createHazelcastFullInstance(); static HazelcastInstance createHazelcastFullInstance(String configLocation); static final String DEFAULT_INSTANCE_NAME; static final String DEFAULT_MAP_NAME; static final int DAY_IN_MILLISECONDS; static final int HOUR_IN_MILLISECONDS; }
@Test public void testCreateHazelcastClientInstance() { Hazelcast.newHazelcastInstance(); HazelcastInstance instance = createHazelcastClientInstance(); assertNotNull(instance); }
@Test public void testCreateHazelcastClientInstance_configurationLocationIsNull() { Hazelcast.newHazelcastInstance(); HazelcastInstance instance = createHazelcastClientInstance(null); assertNotNull(instance); }
@Test(expected = RuntimeException.class) public void testCreateHazelcastClientInstance_configurationNotFound() { createHazelcastClientInstance("http: }