protected void onSetUp() throws Exception {
// load file using absolute path
defaultLoader = new DefaultResourceLoader();
thisClass = defaultLoader.getResource(getClass().getName().replace('.', '/').concat(".class"));
bundle = bundleContext.getBundle();
loader = new OsgiBundleResourceLoader(bundle);
patternLoader = new OsgiBundleResourcePatternResolver(loader);
}