TilesRequestContextHolder { public void setTilesRequestContext(Request request) { requestHolder.set(request); }  void setTilesRequestContext(Request request); Request getTilesRequestContext();  }
@Test public void testSetTilesRequestContext() { Request request = createMock(Request.class); replay(request); TilesRequestContextHolder holder = new TilesRequestContextHolder(); holder.setTilesRequestContext(request); assertSame(request, holder.getTilesRequestContext()); verify(request); }