### Question:
DevicePrintAuthenticationConfig { public String getAttributeValue(String attributeName) { return CollectionHelper.getMapAttr(config, attributeName); } DevicePrintAuthenticationConfig(Map<?, ?> config); String getAttributeValue(String attributeName); int getInt(String attributeName); boolean getBoolean(String attributeName); long getLong(String attributeName); boolean hasRequiredAttributes(DevicePrint devicePrint); static final String PROFILE_EXPIRATION_DAYS; static final String MAX_STORED_PROFILES; static final String AUTO_STORE_PROFILES; static final String MAX_TOLERATED_PENALTY_POINTS; static final String SCREEN_COLOUR_DEPTH_PENALTY_POINTS; static final String SCREEN_RESOLUTION_PENALTY_POINTS; static final String INSTALLED_PLUGINS_PENALTY_POINTS; static final String INSTALLED_FONTS_PENALTY_POINTS; static final String TIMEZONE_PENALTY_POINTS; static final String LOCATION_PENALTY_POINTS; static final String LOCATION_ALLOWED_RANGE; static final String USER_AGENT_PENALTY_POINTS; static final String IGNORE_VERSION_IN_USER_AGENT; static final String MAX_TOLERATED_DIFFS_IN_INSTALLED_FONTS; static final String MAX_TOLERATED_PERCENTAGE_TO_MARK_AS_DIFFERENT_INSTALLED_FONTS; static final String MAX_TOLERATED_DIFFS_IN_INSTALLED_PLUGINS; static final String MAX_TOLERATED_PERCENTAGE_TO_MARK_AS_DIFFERENT_PLUGINS; static final String USER_AGENT_REQUIRED; static final String PLUGINS_REQUIRED; static final String FONTS_REQUIRED; static final String GEO_LOCATION_REQUIRED; static final String SCREEN_PARAMS_REQUIRED; static final String TIMEZONE_REQUIRED; }### Answer:
@Test public void shouldGetAttributeValue() { addToConfigSet("KEY", "VALUE"); String value = devicePrintAuthenticationConfig.getAttributeValue("KEY"); assertEquals(value, "VALUE"); }