*/
@DisposeProjectAfter
public void test_getResourceAsStream() throws Exception {
addTestJar();
// prepare IResourcesProvider
IResourcesProvider provider = getTestModuleResourceProvider();
// work with IResourcesProvider
try {
// no such resource
assertNotExistingResource(provider, "no/such/resource.txt");
// "src" folder is included
assertExistingResource(provider, "test/client/Module.java");
assertExistingResource(provider, "/test/client/Module.java");
// from "test.jar"
assertExistingResource(provider, "jar/folder/hello.txt");
// "bin" folder is NOT included
assertNotExistingResource(provider, "test/client/Module.class");
} finally {
provider.dispose();
}
}