@Test public void basicTest() throws InstantiationException { StoreKeyConverterFactory storeKeyConverterFactory = new StoreKeyConverterFactoryImpl(mock(VerifiableProperties.class), mock(MetricRegistry.class)); StoreKeyConverter storeKeyConverter = storeKeyConverterFactory.getStoreKeyConverter(); assertTrue("StoreKeyConverter should have been StoreKeyConverterImplNoOp impl", storeKeyConverter instanceof StoreKeyConverterImplNoOp); }
@Override public StoreKeyConverter getStoreKeyConverter() throws InstantiationException { return new StoreKeyConverterImplNoOp(); }
StoreKeyConverterFactoryImpl implements StoreKeyConverterFactory { @Override public StoreKeyConverter getStoreKeyConverter() throws InstantiationException { return new StoreKeyConverterImplNoOp(); } }
StoreKeyConverterFactoryImpl implements StoreKeyConverterFactory { @Override public StoreKeyConverter getStoreKeyConverter() throws InstantiationException { return new StoreKeyConverterImplNoOp(); } StoreKeyConverterFactoryImpl(VerifiableProperties verifiableProperties, MetricRegistry metricRegistry); }
StoreKeyConverterFactoryImpl implements StoreKeyConverterFactory { @Override public StoreKeyConverter getStoreKeyConverter() throws InstantiationException { return new StoreKeyConverterImplNoOp(); } StoreKeyConverterFactoryImpl(VerifiableProperties verifiableProperties, MetricRegistry metricRegistry); @Override StoreKeyConverter getStoreKeyConverter(); }
StoreKeyConverterFactoryImpl implements StoreKeyConverterFactory { @Override public StoreKeyConverter getStoreKeyConverter() throws InstantiationException { return new StoreKeyConverterImplNoOp(); } StoreKeyConverterFactoryImpl(VerifiableProperties verifiableProperties, MetricRegistry metricRegistry); @Override StoreKeyConverter getStoreKeyConverter();  }