### Question:
MetricKey implements IHasShortcut { @JsonProperty("metric") public String getMetric() { return metric; }  @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();  }### Answer:
@Test public void testGetMetric() throws Exception { MetricKey victim = makeBasicMetricKey(); assertTrue("getMetric should return the metric value passed in.", Objects.equal(basicMetric, victim.getMetric())); }