Search in sources :

Example 1 with CustomConfigHandler

use of com.emc.storageos.customconfigcontroller.impl.CustomConfigHandler in project coprhd-controller by CoprHD.

the class VPlexMeteringTest method mockPortMetricsProcessor.

private PortMetricsProcessor mockPortMetricsProcessor(MockDbClient mockDbClient) {
    CustomConfigHandler customConfigHandler = new MockCustomConfigHandler();
    customConfigHandler.setDbClient(mockDbClient);
    PortMetricsProcessor portMetricsProcessor = new PortMetricsProcessor();
    portMetricsProcessor.setDbClient(mockDbClient);
    portMetricsProcessor.setCustomConfigHandler(customConfigHandler);
    return portMetricsProcessor;
}
Also used : CustomConfigHandler(com.emc.storageos.customconfigcontroller.impl.CustomConfigHandler) PortMetricsProcessor(com.emc.storageos.volumecontroller.impl.plugins.metering.smis.processor.PortMetricsProcessor)

Aggregations

CustomConfigHandler (com.emc.storageos.customconfigcontroller.impl.CustomConfigHandler)1 PortMetricsProcessor (com.emc.storageos.volumecontroller.impl.plugins.metering.smis.processor.PortMetricsProcessor)1