@Override
public Void answer(InvocationOnMock invocation) throws Throwable {
PhoenixMetricsRecord record = (PhoenixMetricsRecord) invocation.getArguments()[0];
//validate that we got the right fields in the record
assertEquals("phoenix.987654", record.name());
assertEquals("Some generic trace", record.description());
int count = 0;
for (PhoenixAbstractMetric metric : record.metrics()) {
count++;
//find the matching metric in the list
boolean found = false;