@Test public void testAddingAndFetchingAuthenticationConfig() { final AuthenticationConfigImpl authenticationConfig = new AuthenticationConfigImpl(); authenticationConfig.getItems().put(API_KEY_CONFIG_ITEM_KEY, API_KEY_CONFIG_ITEM_VALUE); authenticationConfig.getItems().put(SECRET_CONFIG_ITEM_KEY, SECRET_FEE_CONFIG_ITEM_VALUE); assertEquals(2, authenticationConfig.getItems().size()); assertEquals( API_KEY_CONFIG_ITEM_VALUE, authenticationConfig.getItems().get(API_KEY_CONFIG_ITEM_KEY)); assertEquals( SECRET_FEE_CONFIG_ITEM_VALUE, authenticationConfig.getItems().get(SECRET_CONFIG_ITEM_KEY)); }
Map<String, String> getItems() { return items; }
AuthenticationConfigImpl implements AuthenticationConfig { Map<String, String> getItems() { return items; } }
AuthenticationConfigImpl implements AuthenticationConfig { Map<String, String> getItems() { return items; } AuthenticationConfigImpl(); }
AuthenticationConfigImpl implements AuthenticationConfig { Map<String, String> getItems() { return items; } AuthenticationConfigImpl(); @Override String getItem(String name); void setItems(Map<String, String> items); }
AuthenticationConfigImpl implements AuthenticationConfig { Map<String, String> getItems() { return items; } AuthenticationConfigImpl(); @Override String getItem(String name); void setItems(Map<String, String> items);  }