@Test public void testSetSdkVersion() { ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); InternalContext context = new InternalContext(map); context.setSdkVersion("mock"); assertEquals("mock", context.getSdkVersion()); assertEquals(1, map.size()); assertEquals("mock", map.get(ContextTagKeys.getKeys().getInternalSdkVersion())); }
public void setSdkVersion(String version) { MapUtil.setStringValueOrRemove(tags, ContextTagKeys.getKeys().getInternalSdkVersion(), version); }
InternalContext { public void setSdkVersion(String version) { MapUtil.setStringValueOrRemove(tags, ContextTagKeys.getKeys().getInternalSdkVersion(), version); } }
InternalContext { public void setSdkVersion(String version) { MapUtil.setStringValueOrRemove(tags, ContextTagKeys.getKeys().getInternalSdkVersion(), version); } InternalContext(ConcurrentMap<String, String> tags); }
InternalContext { public void setSdkVersion(String version) { MapUtil.setStringValueOrRemove(tags, ContextTagKeys.getKeys().getInternalSdkVersion(), version); } InternalContext(ConcurrentMap<String, String> tags); String getSdkVersion(); void setSdkVersion(String version); String getAgentVersion(); void setAgentVersion(String version); String getNodeName(); void setNodeName(String nodeName); }
InternalContext { public void setSdkVersion(String version) { MapUtil.setStringValueOrRemove(tags, ContextTagKeys.getKeys().getInternalSdkVersion(), version); } InternalContext(ConcurrentMap<String, String> tags); String getSdkVersion(); void setSdkVersion(String version); String getAgentVersion(); void setAgentVersion(String version); String getNodeName(); void setNodeName(String nodeName);  }