@Test public void testNullSnapshot() throws Exception { mExpectedException.expect(IllegalArgumentException.class); T instance = getClazz().newInstance(); instance.getSnapshot(null); }
public abstract boolean getSnapshot(T snapshot);
SystemMetricsCollector { public abstract boolean getSnapshot(T snapshot); }
SystemMetricsCollector { public abstract boolean getSnapshot(T snapshot);  }
SystemMetricsCollector { public abstract boolean getSnapshot(T snapshot);  abstract boolean getSnapshot(T snapshot); abstract T createMetrics(); }
SystemMetricsCollector { public abstract boolean getSnapshot(T snapshot);  abstract boolean getSnapshot(T snapshot); abstract T createMetrics();  }