public static void assertStringPropertyEquals(final Node node, final String propertyName, final String actualValue)
            throws RepositoryException {
        assertTrue("Node " + node.getPath() + " has no property " + propertyName, node.hasProperty(propertyName));
        final Property prop = node.getProperty(propertyName);
        assertEquals("Property type is not STRING ", PropertyType.STRING, prop.getType());
        assertEquals(actualValue, prop.getString());
    }
public static void assertStringPropertyEquals ( final Node node , final String propertyName , final String actualValue ) throws RepositoryException { assertTrue ( "Node " + node . getPath ( ) + " has no property " + propertyName , node . hasProperty ( propertyName ) ) ; final Property prop = node . getProperty ( propertyName ) ; assertEquals ( "Property type is not STRING " , PropertyType . STRING , prop . getType ( ) ) ; assertEquals ( actualValue , prop . getString ( ) ) ; }
Asserts the equality of a property value of a node with an expected value

@param node
the node containing the property to be verified
@param propertyName
the property name to be verified
@param actualValue
the actual value that should be compared to the propert node
@throws RepositoryException