@Test
public void canFactoryProcessViewsShouldThrowIllegalArgExceptionIfFactoryIsNull() {

    try {
        ScriptEngineUtils.canFactoryProcessViews(null, null);
        fail();
    } catch (IllegalArgumentException e) {
        // expected
    }
}