@Test(expected = NullPointerException.class) public void setup_cannot_take_null_environment() { dropwizardModule.setup(configuration, null); }
public void setup(PlatformConfiguration config, Environment env) { this.configuration = Preconditions.checkNotNull(config, "Configuration cannot be null."); this.environment = Preconditions.checkNotNull(env, "Environment cannot be null."); }
DropwizardModule extends AbstractModule { public void setup(PlatformConfiguration config, Environment env) { this.configuration = Preconditions.checkNotNull(config, "Configuration cannot be null."); this.environment = Preconditions.checkNotNull(env, "Environment cannot be null."); } }
DropwizardModule extends AbstractModule { public void setup(PlatformConfiguration config, Environment env) { this.configuration = Preconditions.checkNotNull(config, "Configuration cannot be null."); this.environment = Preconditions.checkNotNull(env, "Environment cannot be null."); }  }
DropwizardModule extends AbstractModule { public void setup(PlatformConfiguration config, Environment env) { this.configuration = Preconditions.checkNotNull(config, "Configuration cannot be null."); this.environment = Preconditions.checkNotNull(env, "Environment cannot be null."); }  void setup(PlatformConfiguration config, Environment env); }
DropwizardModule extends AbstractModule { public void setup(PlatformConfiguration config, Environment env) { this.configuration = Preconditions.checkNotNull(config, "Configuration cannot be null."); this.environment = Preconditions.checkNotNull(env, "Environment cannot be null."); }  void setup(PlatformConfiguration config, Environment env);  }