@Test
public void testGetResourceBundleBaseName() throws Exception {

    final ScriptProgressCheck check = (ScriptProgressCheck) ScriptProgressCheck
            .createScriptCheckFactory(testScriptUrl("checkWithResources.js")).newInstance(null);
    assertEquals("expect testKey=testKey", "testKey", check.getHelper().getString("testKey"));
    check.setResourceBundle(fromPropertiesUrl(testScriptUrl("checkWithResources.properties")));
    assertEquals("expect testKey=yeKtset", "yeKtset", check.getHelper().getString("testKey"));
    check.setResourceBundle(fromPropertiesUrl(testScriptUrl("overrideResourceBundle.properties")));
    assertEquals("expect testKey=yeKtsettestKey", "yeKtsettestKey", check.getHelper().getString("testKey"));
}