### Question:
DropwizardModule extends AbstractModule { @Provides @Singleton @Graceland PlatformConfiguration providePlatformConfiguration() { Preconditions.checkState(configuration != null, "Configuration has not been set."); return configuration; }  void setup(PlatformConfiguration config, Environment env);  }### Answer:
@Test(expected = IllegalStateException.class) public void must_set_configuration_before_providing_config() { dropwizardModule.providePlatformConfiguration(); }