when( compilerCfg.getFontsConfiguration() ).thenReturn( fontCfg );
when( fontCfg.getLanguagesConfiguration() ).thenReturn( langsCfg );
when( langsCfg.getLanguageRange() ).thenReturn( new ILanguageRange[] { thaiLangRangeCfg, ptLangRangeCfg } );
when( thaiLangRangeCfg.lang() ).thenReturn( "Thai" );
when( thaiLangRangeCfg.range() ).thenReturn( "U+0E01-0E5B" );
when( ptLangRangeCfg.lang() ).thenReturn( "ptBR" );
when( ptLangRangeCfg.range() ).thenReturn( "U+0A0C-0EAA" );
when( metadataCfg.getCreator() ).thenReturn( new String[] { "Marvin", "VELO", "Froeder" } );
when( cfg.getRuntimeSharedLibraryPath() ).thenReturn( new IRuntimeSharedLibraryPath[] { runtimeCfg } );
when( runtimeCfg.pathElement() ).thenReturn( "MyLibrary.swc" );
when( runtimeCfg.rslUrl() ).thenReturn( urls );