@Test
public void test_getBundleParameters_locale() {

    BlueI18n.BundleParams bundleParameters;
    bundleParameters = BlueI18n.getBundleParameters("/blue/rest/i18n/pluginx/1.0.0/pluginx.bundle/ja_JP_JP");
    Assert.assertEquals("ja_JP_JP_#u-ca-japanese", bundleParameters.getLocale().toString());
    bundleParameters = BlueI18n.getBundleParameters("pluginx/1.0.0/pluginx.bundle/ja-JP-JP");
    Assert.assertEquals("ja_JP_JP_#u-ca-japanese", bundleParameters.getLocale().toString());
    bundleParameters = BlueI18n.getBundleParameters("/blue/rest/i18n/pluginx/1.0.0/pluginx.bundle/ja_JP");
    Assert.assertEquals("ja_JP", bundleParameters.getLocale().toString());
    bundleParameters = BlueI18n.getBundleParameters("/blue/rest/i18n/pluginx/1.0.0/pluginx.bundle/ja-JP");
    Assert.assertEquals("ja_JP", bundleParameters.getLocale().toString());
    bundleParameters = BlueI18n.getBundleParameters("/blue/rest/i18n/pluginx/1.0.0/pluginx.bundle/ja");
    Assert.assertEquals("ja", bundleParameters.getLocale().toString());
    bundleParameters = BlueI18n.getBundleParameters("/blue/rest/i18n/pluginx/1.0.0/pluginx.bundle/ja");
    Assert.assertEquals("ja", bundleParameters.getLocale().toString());
}