### Question:
CaffeineRestTemplateCookieStore implements RestTemplateCookieStore { @Override public void add( @Nonnull String authorizationHeaderValue, @Nonnull String cookieValue ) { cookieStore.put( authorizationHeaderValue, cookieValue ); } CaffeineRestTemplateCookieStore();  CaffeineRestTemplateCookieStore( long maxCookieLifetimeMillis ); @Nullable @Override String getCookieName(); @Override void setCookieName( @Nonnull String cookieName ); @Override void add( @Nonnull String authorizationHeaderValue, @Nonnull String cookieValue ); @Nullable @Override String get( @Nonnull String authorizationHeaderValue ); @Override boolean remove( @Nonnull String authorizationHeaderValue, @Nonnull String cookieValue ); static final long DEFAULT_MAX_COOKIE_LIFETIME_MILLIS; }### Answer:
@Test public void add() { cookieStore.add( "Basic jsdhuwjwk", "JESSIONID=82738289" ); Assert.assertEquals( "JESSIONID=82738289", cookieStore.get( "Basic jsdhuwjwk" ) ); }