@Test
public void testResourceAsStream() throws IOException {

    assertReadable(ResourceLoader.getResourceAsStream(getExistingResourcePath()));
    assertReadable(ResourceLoader.getResourceAsStream("/"+getExistingResourcePath()));
    assert ResourceLoader.getResourceAsStream(getNonExistingResourcePath()) == null;
    assertReadable(ResourceLoader.getResourceAsStream(getExistingResourcePath(), getThisClassLoader(), getRootPackageFile()));
    assertReadable(ResourceLoader.getResourceAsStream("/"+getExistingResourcePath(), getThisClassLoader(), getRootPackageFile()));
    assert ResourceLoader.getResourceAsStream(getNonExistingResourcePath(), getThisClassLoader(), getRootPackageFile()) == null;
}