@Test public void testGetComponentMetrics() { Map<String, Map<String, PropertyInfo>> componentMetrics = PropertyHelper.getMetricPropertyIds(Resource.Type.HostComponent); AbstractPropertyProvider provider = new TestPropertyProvider(componentMetrics); Assert.assertEquals(componentMetrics, provider.getComponentMetrics()); }
public Map<String, Map<String, PropertyInfo>> getComponentMetrics() { return componentMetrics; }
AbstractPropertyProvider extends BaseProvider implements PropertyProvider { public Map<String, Map<String, PropertyInfo>> getComponentMetrics() { return componentMetrics; } }
AbstractPropertyProvider extends BaseProvider implements PropertyProvider { public Map<String, Map<String, PropertyInfo>> getComponentMetrics() { return componentMetrics; } AbstractPropertyProvider(Map<String, Map<String, PropertyInfo>> componentMetrics); }
AbstractPropertyProvider extends BaseProvider implements PropertyProvider { public Map<String, Map<String, PropertyInfo>> getComponentMetrics() { return componentMetrics; } AbstractPropertyProvider(Map<String, Map<String, PropertyInfo>> componentMetrics); Map<String, Map<String, PropertyInfo>> getComponentMetrics(); }
AbstractPropertyProvider extends BaseProvider implements PropertyProvider { public Map<String, Map<String, PropertyInfo>> getComponentMetrics() { return componentMetrics; } AbstractPropertyProvider(Map<String, Map<String, PropertyInfo>> componentMetrics); Map<String, Map<String, PropertyInfo>> getComponentMetrics();  }