ResourcePoolImpl implements ResourcePool { public ResourcePoolImpl(int myId, int noOfPlayers) { this.myId = myId; this.noOfPlayers = noOfPlayers; } ResourcePoolImpl(int myId, int noOfPlayers); @Override int getMyId(); @Override int getNoOfParties();  }
@Test public void testResourcePoolImpl() { ResourcePoolImpl rp = new ResourcePoolImpl(0, 1); assertThat(rp.getMyId(), is(0)); assertThat(rp.getNoOfParties(), is(1)); }