### Question:
VirtualMetric extends AbstractMetric<V> { @Override public ImmutableList<MetricPoint<V>> getTimestampedValues() { return getTimestampedValues(Instant.now()); } VirtualMetric(
      String name,
      String description,
      String valueDisplayName,
      ImmutableSet<LabelDescriptor> labels,
      Supplier<ImmutableMap<ImmutableList<String>, V>> valuesSupplier,
      Class<V> valueClass); @Override ImmutableList<MetricPoint<V>> getTimestampedValues(); @Override int getCardinality();  }### Answer:
@Test public void testGetTimestampedValues_returnsValues() { assertThat(metric.getTimestampedValues(Instant.ofEpochMilli(1337))) .containsExactly( MetricPoint.create( metric, ImmutableList.of("label_value1"), Instant.ofEpochMilli(1337), "value1"), MetricPoint.create( metric, ImmutableList.of("label_value2"), Instant.ofEpochMilli(1337), "value2")); }