src/main/java/org/apache/sling/launchpad/webapp/integrationtest/GeneratedNodeNameTest.java [79:89]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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 [66:76]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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));
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



