@Test public void instantiatedServiceCounterManagerCorrectType() { CounterManagerFactory counterManagerFactory = new CounterManagerFactoryImpl(); Object serviceCounterManager = counterManagerFactory.makeServiceCounterManager(null, null, null); assertTrue(serviceCounterManager instanceof ServiceCounterManagerImpl); }
@Override public ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory, String serviceName, String gatewayId) { return new ServiceCounterManagerImpl(monitoringEntityFactory); }
CounterManagerFactoryImpl implements CounterManagerFactory { @Override public ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory, String serviceName, String gatewayId) { return new ServiceCounterManagerImpl(monitoringEntityFactory); } }
CounterManagerFactoryImpl implements CounterManagerFactory { @Override public ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory, String serviceName, String gatewayId) { return new ServiceCounterManagerImpl(monitoringEntityFactory); }  }
CounterManagerFactoryImpl implements CounterManagerFactory { @Override public ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory, String serviceName, String gatewayId) { return new ServiceCounterManagerImpl(monitoringEntityFactory); }  @Override ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory,
            String serviceName, String gatewayId); }
CounterManagerFactoryImpl implements CounterManagerFactory { @Override public ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory, String serviceName, String gatewayId) { return new ServiceCounterManagerImpl(monitoringEntityFactory); }  @Override ServiceCounterManager makeServiceCounterManager(MonitoringEntityFactory monitoringEntityFactory,
            String serviceName, String gatewayId);  }