@Test public void newIdTest() { JobIdGenerator generator = new JobIdGenerator(); Assert.assertNotEquals(generator.getNewJobId(), generator.getNewJobId()); }
public long getNewJobId() { return mNextJobId.getAndIncrement(); }
JobIdGenerator { public long getNewJobId() { return mNextJobId.getAndIncrement(); } }
JobIdGenerator { public long getNewJobId() { return mNextJobId.getAndIncrement(); } JobIdGenerator(); }
JobIdGenerator { public long getNewJobId() { return mNextJobId.getAndIncrement(); } JobIdGenerator(); long getNewJobId(); }
JobIdGenerator { public long getNewJobId() { return mNextJobId.getAndIncrement(); } JobIdGenerator(); long getNewJobId();  }