    @Test
    public void testLocale() {

        assertEquals("en_us", BrandingMojo.getLocale( "aaa_en_us.properties")[1]);
        assertEquals("en_us_ca", BrandingMojo.getLocale( "aaa_en_us_ca.properties")[1]);
        assertEquals("en_us_ca", BrandingMojo.getLocale( "aa_en_us_ca.properties")[1]);
        assertEquals("en_us_ca", BrandingMojo.getLocale( "bb_aa_en_us_ca.properties")[1]);
        assertEquals("en", BrandingMojo.getLocale( "bb_aaa_en.properties")[1]);
        assertEquals(null, BrandingMojo.getLocale( "bb_aaa_end.properties")[1]);
        assertEquals(null, BrandingMojo.getLocale( "bb_aa_end.properties")[1]);
        assertEquals(null, BrandingMojo.getLocale( "bb.properties")[1]);
    }