public void newTenant(final ITenant tenant) {
   methodTrackerHistory.add(
       new MethodTrackingData("newTenant")
           .addParameter(USER_PARAMETER, securityHelper.getCurrentUser())
           .addParameter("tenant", tenant));
   if (throwException) throw new RuntimeException(UNIT_TEST_EXCEPTION_MESSAGE);
 }
 public void shutdown() {
   methodTrackerHistory.add(
       new MethodTrackingData("shutdown")
           .addParameter(USER_PARAMETER, securityHelper.getCurrentUser()));
   if (throwException) throw new RuntimeException(UNIT_TEST_EXCEPTION_MESSAGE);
 }