public void testAtomicLong() throws Exception {
String partitionKey = "hazelcast";
HazelcastInstance hz = getHazelcastInstance(partitionKey);
IAtomicLong atomicLong = hz.getAtomicLong("atomiclong@" + partitionKey);
atomicLong.incrementAndGet();
assertEquals("atomiclong@" + partitionKey, atomicLong.getName());
assertEquals(partitionKey, atomicLong.getPartitionKey());
AtomicLongService service = getNodeEngine(hz).getService(AtomicLongService.SERVICE_NAME);
assertTrue(service.containsAtomicLong(atomicLong.getName()));