### Question:
MetricFilterBuilder { public MetricFilterBuilder filterTimer() { this.filterTimer = true; return this; }  MetricFilterBuilder filterCountZero(); MetricFilterBuilder filterMetricName(String name); MetricFilterBuilder filterTimer(); MetricFilter build();  }### Answer:
@Test public void testFilterTimer() { MetricFilter filter = new MetricFilterBuilder().filterTimer().build(); Assert.assertFalse(filter.matches(null, new Timer())); Assert.assertTrue(filter.matches(null, new Meter())); }