@Test
public void testIsUserInRole() {

    Request wrappedRequest = createMockRequest();
    expect(wrappedRequest.isUserInRole("myrole")).andReturn(Boolean.TRUE);
    replay(wrappedRequest);
    RequestWrapper request = createRequestWrapper(wrappedRequest);
    assertTrue(request.isUserInRole("myrole"));
    verify(wrappedRequest);
}