private void storeLocalizedAttributeName(long key, String attributeName, String language) {
   if (attributeName == null || language == null) {
     return;
   }
   localizer.storeLocalizedResource(
       language, key, LocalizedObjectTypes.CUSTOM_ATTRIBUTE_NAME, attributeName);
 }
 @Override
 protected void setup(TestContainer container) {
   container.enableInterfaceMocking(true);
   dsMock = mock(DataService.class);
   when(dsMock.getCurrentUser()).thenReturn(givenUser());
   localizerMock = mock(LocalizerServiceLocal.class);
   when(localizerMock.getLocalizedTextFromDatabase(
           Mockito.anyString(), Mockito.anyLong(), Mockito.any(LocalizedObjectTypes.class)))
       .thenReturn(LOCALIZED_RESOURCE);
   logCollector.localizer = localizerMock;
 }