@Test
public void testGetComposeStackNull() {

    Request request = createMock(Request.class);
    Map<String, Object> requestScope = new HashMap<String, Object>();
    expect(request.getContext("request")).andReturn(requestScope);
    replay(request);
    assertSame(ComposeStackUtil.getComposeStack(request),
            requestScope.get(ComposeStackUtil.COMPOSE_STACK_ATTRIBUTE_NAME));
    verify(request);
}