{
oneOf(tabMapper).findById(with(any(Long.class)));
will(returnValue(delTab));
oneOf(tabGroupMapper).deleteTab(delTab);
will(throwException(new TabDeletionException("Failed to delete tab", delTab)));
}
});
ServiceActionContext currentContext = new ServiceActionContext(new Long(1L), principalMock);