// no resource loader
JspEngineImpl engine = new JspEngineImpl(servletContext, createMock(MockRequestProxy.class),
createMock(MockResponseProxy.class));
try {
engine.afterPropertiesSet();
fail();
} catch (IllegalArgumentException e) {
assertThat(e, exception("resourceLoader"));
}