@Test
    @OSGiVersionSpecs({
        @OSGiSpec(version="4.1", sections={"6.1.4", "6.1.4.20"}),
        @OSGiSpec(version="4.2", sections={"6.1.4", "6.1.4.22"})
    })
    public void testGetResource() throws IOException, BundleException {
        boolean[] allBools = new boolean[] {true, false};
        for (boolean inOuter : allBools) {
            for (boolean inInner : allBools) {
                for (boolean outerInClasspath : allBools) {
                    for (boolean innerInClasspath : allBools) {
                        _testGetResource(inOuter,
                            inInner,
                            outerInClasspath,
                            innerInClasspath,
                            inOuter && ( outerInClasspath || (!outerInClasspath && !innerInClasspath) ),
                            inInner && innerInClasspath);
                    }
                }
            }
        }
    }