@Test
public void testEquiJoinCondition() throws RepositoryException {

    QueryObjectModelFactory delegate = mock(QueryObjectModelFactory.class);
    QueryObjectModelFactoryFacade<Session> facade = getFacade(delegate);
    final EquiJoinCondition value = mock(EquiJoinCondition.class);
    final String arg1 = "arg1";
    final String arg2 = "arg2";
    final String arg3 = "arg3";
    final String arg4 = "arg4";
    when(delegate.equiJoinCondition(arg1, arg2, arg3, arg4)).thenReturn(value);
    assertSame("is same value", value, facade.equiJoinCondition(arg1, arg2, arg3, arg4));
}