### Question:
AgileBiPluginResourceLoader implements IPluginResourceLoader { @Override public ResourceBundle getResourceBundle( Class<?> aClass, String s ) { return ResourceBundle .getBundle( getSymbolicName( aClass ) + "/" + s, LocaleHelper.getLocale(), aClass.getClassLoader() ); }  @Override byte[] getResourceAsBytes( Class<? extends Object> aClass, String s ); @Override String getResourceAsString( Class<? extends Object> aClass, String s ); @Override String getResourceAsString( Class<? extends Object> aClass, String s, String s1 ); @Override InputStream getResourceAsStream( Class<?> aClass, String s ); @Override InputStream getResourceAsStream( ClassLoader classLoader, String s ); @Override List<URL> findResources( Class<?> aClass, String s ); @Override List<URL> findResources( ClassLoader classLoader, String s ); @Override ResourceBundle getResourceBundle( Class<?> aClass, String s ); @Override String getPluginSetting( Class<?> aClass, String s ); @Override String getPluginSetting( Class<?> aClass, String s, String s1 ); @Override String getPluginSetting( ClassLoader classLoader, String s, String s1 );  }### Answer:
@Test public void getResourceBundle() throws Exception { assertEquals( "success", resourceLoader.getResourceBundle( getClass(), "test" ).getString( "test" ) ); try { resourceLoader.getResourceBundle( getClass(), "bogus" ); fail(); } catch ( MissingResourceException e ) { } }