@Test public void testGetTags() throws Exception { String tagsValue = "Tag1=value1"; MetricKey victim = makeBasicMetricKey(); assertTrue("getTags should return the tag value passed in.", Objects.equal(basicTagValue, victim.getTags())); }
@JsonProperty("tags") public Tags getTags() { return tags; }
MetricKey implements IHasShortcut { @JsonProperty("tags") public Tags getTags() { return tags; } }
MetricKey implements IHasShortcut { @JsonProperty("tags") public Tags getTags() { return tags; }  }
MetricKey implements IHasShortcut { @JsonProperty("tags") public Tags getTags() { return tags; }  @JsonProperty("id") String getId(); @JsonProperty("metric") String getMetric(); @JsonProperty("tags") Tags getTags(); @JsonProperty("name") String getName(); @Override boolean equals(Object o); @Override int hashCode(); static MetricKey fromValue(MetricSpecification spec); static MetricKey fromValue(String name, String metric, String tags); String toString(); @Override String getShortcut(); }
MetricKey implements IHasShortcut { @JsonProperty("tags") public Tags getTags() { return tags; }  @JsonProperty("id") String getId(); @JsonProperty("metric") String getMetric(); @JsonProperty("tags") Tags getTags(); @JsonProperty("name") String getName(); @Override boolean equals(Object o); @Override int hashCode(); static MetricKey fromValue(MetricSpecification spec); static MetricKey fromValue(String name, String metric, String tags); String toString(); @Override String getShortcut();  }