@Override
  protected void updateBaseModel(long userId, long baseModelId) throws Exception {

    MBMessage message = MBMessageLocalServiceUtil.getMessage(baseModelId);

    ServiceContext serviceContext =
        ServiceContextTestUtil.getServiceContext(message.getGroupId(), userId);

    MBTestUtil.populateNotificationsServiceContext(serviceContext, Constants.UPDATE);

    MBMessageLocalServiceUtil.updateMessage(
        userId, message.getMessageId(), RandomTestUtil.randomString(), serviceContext);
  }
  @Override
  protected long addContainerModel(long userId, long containerModelId) throws Exception {

    ServiceContext serviceContext =
        ServiceContextTestUtil.getServiceContext(group.getGroupId(), userId);

    MBTestUtil.populateNotificationsServiceContext(serviceContext, Constants.ADD);

    MBCategory category =
        MBCategoryLocalServiceUtil.addCategory(
            userId,
            containerModelId,
            RandomTestUtil.randomString(),
            StringPool.BLANK,
            serviceContext);

    return category.getCategoryId();
  }
  @Override
  protected long addBaseModel(long userId, long containerModelId) throws Exception {

    ServiceContext serviceContext =
        ServiceContextTestUtil.getServiceContext(group.getGroupId(), userId);

    MBTestUtil.populateNotificationsServiceContext(serviceContext, Constants.ADD);

    MBMessage message =
        MBMessageLocalServiceUtil.addMessage(
            userId,
            RandomTestUtil.randomString(),
            group.getGroupId(),
            containerModelId,
            RandomTestUtil.randomString(),
            RandomTestUtil.randomString(),
            serviceContext);

    return message.getMessageId();
  }