src/main/java/org/apache/sling/launchpad/webapp/integrationtest/GeneratedNodeNameTest.java [82:93]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void testCollision() throws IOException {
        final Map<String, String> props = new HashMap<String, String>();
        props.put("title", "Hello There");

        // posting twice with the same title must work, and return different locations
        final String locationA = testClient.createNode(postUrl, props);
        final String locationB = testClient.createNode(postUrl, props);

        assertFalse(
                "Locations A and B must be different (" + locationA + "," + locationB + ")",
                locationA.equals(locationB));
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/sling/launchpad/webapp/integrationtest/GeneratedNodeNameTestStar.java [69:80]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void testCollision() throws IOException {
        final Map<String, String> props = new HashMap<String, String>();
        props.put("title", "Hello There");

        // posting twice with the same title must work, and return different locations
        final String locationA = testClient.createNode(postUrl, props);
        final String locationB = testClient.createNode(postUrl, props);

        assertFalse(
                "Locations A and B must be different (" + locationA + "," + locationB + ")",
                locationA.equals(locationB));
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



