public class PropertiesConfigurationTest extends TestCase {
public void testNoFile() throws Exception {
PropertiesFileConfiguration configuration = new PropertiesFileConfiguration("nosuch.file");
try {
configuration.configure(new JsUnitServer());
fail("Should have through a Runtime because no properties file exists");
} catch (RuntimeException e) {
}
}