### Question:
LocalFileStore implements PositionStore<ConsumePartition, Position> { @Override public Position putIfAbsent(ConsumePartition key, Position value) { return consumePositionCache.putIfAbsent(key, value); }  void setBasePath(String basePath); @Override void start(); @Override void stop(); @Override boolean isStarted(); @Override Position get(ConsumePartition key); @Override void put(ConsumePartition key, Position value); @Override Position remove(ConsumePartition key); @Override Position putIfAbsent(ConsumePartition key, Position value); @Override void forceFlush(); @Override Iterator<ConsumePartition> iterator(); ConcurrentMap<ConsumePartition, Position> recover();  }### Answer:
@Test public void putIfAbsent() { put(); localFileStore.putIfAbsent(consumePartition, new Position(1,1,1,1)); Position positionVal = localFileStore.get(consumePartition); Assert.assertEquals(position, positionVal); }