@Test public void shouldNotAcceptKubernetesConfig() { ServiceCatalogHandler generator = new ServiceCatalogHandler(); assertFalse(generator.canHandle(BaseConfig.class)); }
public boolean canHandle(Class<? extends Configuration> type) { return type.equals(ServiceCatalogConfig.class) || type.equals(EditableServiceCatalogConfig.class); }
ServiceCatalogHandler implements Handler<ServiceCatalogConfig> { public boolean canHandle(Class<? extends Configuration> type) { return type.equals(ServiceCatalogConfig.class) || type.equals(EditableServiceCatalogConfig.class); } }
ServiceCatalogHandler implements Handler<ServiceCatalogConfig> { public boolean canHandle(Class<? extends Configuration> type) { return type.equals(ServiceCatalogConfig.class) || type.equals(EditableServiceCatalogConfig.class); } ServiceCatalogHandler();  ServiceCatalogHandler(Resources resources); }
ServiceCatalogHandler implements Handler<ServiceCatalogConfig> { public boolean canHandle(Class<? extends Configuration> type) { return type.equals(ServiceCatalogConfig.class) || type.equals(EditableServiceCatalogConfig.class); } ServiceCatalogHandler();  ServiceCatalogHandler(Resources resources); @Override int order(); @Override String getKey(); @Override void handle(ServiceCatalogConfig config); boolean canHandle(Class<? extends Configuration> type); }
ServiceCatalogHandler implements Handler<ServiceCatalogConfig> { public boolean canHandle(Class<? extends Configuration> type) { return type.equals(ServiceCatalogConfig.class) || type.equals(EditableServiceCatalogConfig.class); } ServiceCatalogHandler();  ServiceCatalogHandler(Resources resources); @Override int order(); @Override String getKey(); @Override void handle(ServiceCatalogConfig config); boolean canHandle(Class<? extends Configuration> type);  }