@Test
public void testGetCommonPropertyTypeELContextObject() {

    replay(beanElResolver);
    Class<?> clazz = resolver.getCommonPropertyType(null, null);
    assertEquals("The class is not correct", String.class, clazz);
    clazz = resolver.getCommonPropertyType(null, "Base object");
    assertNull("The class for non root objects must be null", clazz);
    verify(beanElResolver);
}