@Test
public void testUpperCase() throws RepositoryException {

    QueryObjectModelFactory delegate = mock(QueryObjectModelFactory.class);
    QueryObjectModelFactoryFacade<Session> facade = getFacade(delegate);
    final UpperCase value = mock(UpperCase.class);
    final DynamicOperand arg1 = mock(DynamicOperand.class);
    when(delegate.upperCase(arg1)).thenReturn(value);
    assertSame("is same value", value, facade.upperCase(arg1));
}