synchronized Collection<KeyValue> getAllForUnitTestsOnly() {
        List<KeyValue> copiedEntries = Lists.newArrayListWithCapacity(entries.size());

        for (Map.Entry<String, String> entry : entries.entrySet()) {
            copiedEntries.add(new KeyValue(entry.getKey(), entry.getValue()));
        }

        return copiedEntries;
    }
synchronized Collection < KeyValue > getAllForUnitTestsOnly ( ) { List < KeyValue > copiedEntries = Lists . newArrayListWithCapacity ( entries . size ( ) ) ; for ( Map . Entry < String , String > entry : entries . entrySet ( ) ) { copiedEntries . add ( new KeyValue ( entry . getKey ( ) , entry . getValue ( ) ) ) ; } return copiedEntries ; }
Get all the {@code key=>value} pairs stored in {@code LocalStore}.
<p/>
<strong>This method is package-private for testing
reasons only!</strong> It should <strong>never</strong>
be called in a non-test context!

@return a set of all {@code key=>value} pairs stored in {@code LocalStore}