### Question:
MongoMetric implements IMonitorMetric { public MongoMetric(MongoDataSource dataSource, int period, int waitLimit) { this.dataSource = dataSource; this.period = period; this.listWaitPeroid = waitLimit; executor = Executors.newSingleThreadExecutor(DaemonThreadFactory.getInstance()); snapshot(); } MongoMetric(MongoDataSource dataSource, int period, int waitLimit); @Override String getName(); @Override int getPeriod(); @Override void snapshot(long timestamp); @Override Map<String, Object> output();  }### Answer:
@Test public void testMongoMetric() { }