@Test void testIdentifierIsPresent() { assertTrue(testSubject.retrieveStorageIdentifier().isPresent()); }
@Override public Optional<String> retrieveStorageIdentifier() { return Optional.of(identifier); }
InMemoryTokenStore implements TokenStore { @Override public Optional<String> retrieveStorageIdentifier() { return Optional.of(identifier); } }
InMemoryTokenStore implements TokenStore { @Override public Optional<String> retrieveStorageIdentifier() { return Optional.of(identifier); }  }
InMemoryTokenStore implements TokenStore { @Override public Optional<String> retrieveStorageIdentifier() { return Optional.of(identifier); }  @Override void initializeTokenSegments(String processorName, int segmentCount); @Override void initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken); @Override void storeToken(TrackingToken token, String processorName, int segment); @Override TrackingToken fetchToken(String processorName, int segment); @Override void releaseClaim(String processorName, int segment); @Override void deleteToken(String processorName, int segment); @Override void initializeSegment(TrackingToken token, String processorName, int segment); @Override boolean requiresExplicitSegmentInitialization(); @Override int[] fetchSegments(String processorName); @Override Optional<String> retrieveStorageIdentifier(); }
InMemoryTokenStore implements TokenStore { @Override public Optional<String> retrieveStorageIdentifier() { return Optional.of(identifier); }  @Override void initializeTokenSegments(String processorName, int segmentCount); @Override void initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken); @Override void storeToken(TrackingToken token, String processorName, int segment); @Override TrackingToken fetchToken(String processorName, int segment); @Override void releaseClaim(String processorName, int segment); @Override void deleteToken(String processorName, int segment); @Override void initializeSegment(TrackingToken token, String processorName, int segment); @Override boolean requiresExplicitSegmentInitialization(); @Override int[] fetchSegments(String processorName); @Override Optional<String> retrieveStorageIdentifier();  }