@Test public void setDefaultDriverClass() { registry.setDefaultDriverClass(RawLanguageDriver.class); assertThat(registry.getDefaultDriverClass() == RawLanguageDriver.class).isTrue(); assertThat(registry.getDefaultDriver()).isInstanceOf(RawLanguageDriver.class); }
public void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass) { register(defaultDriverClass); this.defaultDriverClass = defaultDriverClass; }
LanguageDriverRegistry { public void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass) { register(defaultDriverClass); this.defaultDriverClass = defaultDriverClass; } }
LanguageDriverRegistry { public void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass) { register(defaultDriverClass); this.defaultDriverClass = defaultDriverClass; }  }
LanguageDriverRegistry { public void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass) { register(defaultDriverClass); this.defaultDriverClass = defaultDriverClass; }  void register(Class<? extends LanguageDriver> cls); void register(LanguageDriver instance); LanguageDriver getDriver(Class<? extends LanguageDriver> cls); LanguageDriver getDefaultDriver(); Class<? extends LanguageDriver> getDefaultDriverClass(); void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass); }
LanguageDriverRegistry { public void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass) { register(defaultDriverClass); this.defaultDriverClass = defaultDriverClass; }  void register(Class<? extends LanguageDriver> cls); void register(LanguageDriver instance); LanguageDriver getDriver(Class<? extends LanguageDriver> cls); LanguageDriver getDefaultDriver(); Class<? extends LanguageDriver> getDefaultDriverClass(); void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass);  }