### Question:
AgileBiPluginResourceLoader implements IPluginResourceLoader { @Override public InputStream getResourceAsStream( Class<?> aClass, String s ) { String symbolicName = getSymbolicName( aClass ); return aClass.getResourceAsStream( "/" + symbolicName + "/" + s ); }  @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 getResourceAsStream() throws Exception { assertNotNull( resourceLoader.getResourceAsStream( this.getClass(), "README.md" ) ); assertNull( resourceLoader.getResourceAsStream( this.getClass(), "bogus.txt" ) ); }
@Test public void getResourceAsStream1() throws Exception { assertNotNull( resourceLoader.getResourceAsStream( getClass().getClassLoader(), "README.md" ) ); assertNull( resourceLoader.getResourceAsStream( this.getClass().getClassLoader(), "bogus.txt" ) ); }