### Question:
TableMetricAttributeFilter implements MetricAttributeFilter { @Override public boolean recordTimerMin(final String name, final Timer metric) { return isEnabledWithFallback(name, NewRelicMetric.TIMER_MIN, new Supplier<Boolean>() { @Override public Boolean get() { return fallback.recordTimerMin(name, metric); } }); } TableMetricAttributeFilter(@Nonnull Table<String, NewRelicMetric, Boolean> table,
            @Nullable MetricAttributeFilter fallback); @Override boolean recordTimerMin(final String name, final Timer metric); @Override boolean recordTimerMax(final String name, final Timer metric); @Override boolean recordTimerMean(final String name, final Timer metric); @Override boolean recordTimerStdDev(final String name, final Timer metric); @Override boolean recordTimerMedian(final String name, final Timer metric); @Override boolean recordTimer75thPercentile(final String name, final Timer metric); @Override boolean recordTimer95thPercentile(final String name, final Timer metric); @Override boolean recordTimer98thPercentile(final String name, final Timer metric); @Override boolean recordTimer99thPercentile(final String name, final Timer metric); @Override boolean recordTimer999thPercentile(final String name, final Timer metric); @Override boolean recordTimerCount(final String name, final Timer metric); @Override boolean recordTimerMeanRate(final String name, final Timer metric); @Override boolean recordTimer1MinuteRate(final String name, final Timer metric); @Override boolean recordTimer5MinuteRate(final String name, final Timer metric); @Override boolean recordTimer15MinuteRate(final String name, final Timer metric); @Override boolean recordHistogramMin(final String name, final Histogram metric); @Override boolean recordHistogramMax(final String name, final Histogram metric); @Override boolean recordHistogramMean(final String name, final Histogram metric); @Override boolean recordHistogramStdDev(final String name, final Histogram metric); @Override boolean recordHistogramMedian(final String name, final Histogram metric); @Override boolean recordHistogram75thPercentile(final String name, final Histogram metric); @Override boolean recordHistogram95thPercentile(final String name, final Histogram metric); @Override boolean recordHistogram98thPercentile(final String name, final Histogram metric); @Override boolean recordHistogram99thPercentile(final String name, final Histogram metric); @Override boolean recordHistogram999thPercentile(final String name, final Histogram metric); @Override boolean recordMeterCount(final String name, final Meter metric); @Override boolean recordMeterMeanRate(final String name, final Meter metric); @Override boolean recordMeter1MinuteRate(final String name, final Meter metric); @Override boolean recordMeter5MinuteRate(final String name, final Meter metric); @Override boolean recordMeter15MinuteRate(final String name, final Meter metric); @Override boolean recordCounterCount(final String name, final Counter metric); @Override boolean recordGaugeValue(final String name, final Gauge metric);  }### Answer:
@Test public void metricSetToFalseInConfigFile() throws Exception { TableMetricAttributeFilter instance = new TableMetricAttributeFilter(getTable("testing-config.yml"), new AllEnabledMetricAttributeFilter()); assertThat(instance.recordTimerMin("name2", timer), equalTo(false)); }