@Test(expected = NullPointerException.class)
public void testIsReadOnlyNPE() {

    replay(beanElResolver);
    try {
        resolver.isReadOnly(null, null, null);
    } finally {
        verify(beanElResolver);
    }
}