.will(returnValue(account));
Mock catalogServiceMock = mock(CatalogService.class);
catalogServiceMock.expects(once())
.method("getProductListByCategory")
.with(NOT_NULL)
.will(returnValue(new PaginatedArrayList(5)));
AccountBean accountBean = new AccountBean((AccountService)accountServiceMock.proxy(), (CatalogService)catalogServiceMock.proxy());
accountBean.setAccount(account);
accountBean.signon();
Map sessionMap = ActionContext.getActionContext().getSessionMap();