/**
* Test case for {@link QueryObjectModelFactory#sameNodeJoinCondition(String, String, String)}
*/
public void testSameNodeJoinConditionWithPath() throws RepositoryException {
SameNodeJoinCondition cond = qf.sameNodeJoinCondition(SELECTOR_NAME1, SELECTOR_NAME2, nodeName1);
assertEquals("Wrong selector name", SELECTOR_NAME1, cond.getSelector1Name());
assertEquals("Wrong selector name", SELECTOR_NAME2, cond.getSelector2Name());
assertEquals("Wrong path", nodeName1, cond.getSelector2Path());
}