public void testGetType() {
TilesRequestContext request = EasyMock
.createMock(TilesRequestContext.class);
TilesApplicationContext applicationContext = EasyMock
.createMock(TilesApplicationContext.class);
ELContext context = new ELContextImpl(resolver);
EasyMock.replay(request, applicationContext);
context.putContext(TilesRequestContext.class, request);
context.putContext(TilesApplicationContext.class, applicationContext);
assertEquals("The requestScope object is not a map.", Map.class,
resolver.getType(context, null, "requestScope"));
assertEquals("The sessionScope object is not a map.", Map.class,
resolver.getType(context, null, "sessionScope"));
assertEquals("The applicationScope object is not a map.", Map.class,