{
oneOf(principalMock).getAccountId();
will(returnValue(TEST_ACCOUNTID));
oneOf(tabPermissionMock).canChangeTabLayout(TEST_ACCOUNTID, tabId, true);
will(throwException(new AuthorizationException()));
}
});
SetTabLayoutRequest currentRequest = new SetTabLayoutRequest(Layout.TWOCOLUMN, tabId);
ServiceActionContext currentContext = new ServiceActionContext(currentRequest, principalMock);