common/src/test/java/com/kakoo/foundation/common/resource/bundle/test/TestResourceBundleManager.java
/**
     * Test the cleaning of the resource bundle manager cache.
     */
Test the cleaning of the resource bundle manager cache.
Test the cleaning of the resource bundle manager cache .
@SuppressWarnings({ "static-method", "nls" })
    @Test(expected = ResourceBundleException.class)
    public final void testClearCache()
    {
        ResourceBundleManager.register("i18n/fruits");
        ResourceBundleManager.get("fruit.apple.name");
        ResourceBundleManager.clear();
        ResourceBundleManager.get("fruit.apple.name");
    }
@ SuppressWarnings ( { "static-method" , "nls" } ) @ Test ( expected = ResourceBundleException . class ) public final void testClearCache ( ) { ResourceBundleManager . register ( "i18n/fruits" ) ; ResourceBundleManager . get ( "fruit.apple.name" ) ; ResourceBundleManager . clear ( ) ; ResourceBundleManager . get ( "fruit.apple.name" ) ; }
Test the cleaning of the resource bundle manager cache.
Test the cleaning of the resource bundle manager cache .