src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleportedResourcesFolderTest.java [43:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void assertResource(String path, String expected) throws IOException {
        final InputStream is = getClass().getResourceAsStream(path);
        assertNotNull("Expecting resource " + path, is);
        try {
            final StringWriter w = new StringWriter();
            IOUtils.copy(is, w);
            assertTrue("Expecting in content:" + expected, w.toString().contains(expected));
        } finally {
            is.close();
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleportedResourcesSingleTest.java [43:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void assertResource(String path, String expected) throws IOException {
        final InputStream is = getClass().getResourceAsStream(path);
        assertNotNull("Expecting resource " + path, is);
        try {
            final StringWriter w = new StringWriter();
            IOUtils.copy(is, w);
            assertTrue("Expecting in content:" + expected, w.toString().contains(expected));
        } finally {
            is.close();
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



