@Test public void testClient() { TestClient testClient = new TestClient(); assertThat(testClient.getNextSequenceId(), is(0)); assertThat(testClient.getNextSequenceId(), is(1)); }
protected int getNextSequenceId() { return nextSequenceId.getAndIncrement(); }
PClient { protected int getNextSequenceId() { return nextSequenceId.getAndIncrement(); } }
PClient { protected int getNextSequenceId() { return nextSequenceId.getAndIncrement(); } protected  PClient(); }
PClient { protected int getNextSequenceId() { return nextSequenceId.getAndIncrement(); } protected  PClient();  }
PClient { protected int getNextSequenceId() { return nextSequenceId.getAndIncrement(); } protected  PClient();   }