common/src/test/java/com/kakoo/foundation/common/resource/bundle/test/TestResourceBundleManager.java
/**
     * Test the retrieving of a resource bundle key with message formatting.
     */
Test the retrieving of a resource bundle key with message formatting.
Test the retrieving of a resource bundle key with message formatting .
@SuppressWarnings({ "static-method", "nls" })
    @Test
    public final void testRetrieveKeyCurrentLocaleFormatted()
    {
        String expected = "Die gewählte Farbe ist: 'gelb' und die ausgewählte Frucht ist: 'Erdbeere'";
        String message = ResourceBundleManager.get("kakoo-foundation-common.test.dummy.message.formatted", Locale.GERMAN, "gelb", "Erdbeere");
        Assert.assertEquals(expected, message);
    }
@ SuppressWarnings ( { "static-method" , "nls" } ) @ Test public final void testRetrieveKeyCurrentLocaleFormatted ( ) { String expected = "Die gewählte Farbe ist: 'gelb' und die ausgewählte Frucht ist: 'Erdbeere'"; String message = ResourceBundleManager . get ( "kakoo-foundation-common.test.dummy.message.formatted" , Locale . GERMAN , "gelb" , "Erdbeere" ) ; Assert . assertEquals ( expected , message ) ; }
Test the retrieving of a resource bundle key with message formatting.
Test the retrieving of a resource bundle key with message formatting .