lastUpdateDateTatamibotConfigurationUpdater = new LastUpdateDateTatamibotConfigurationUpdater();
bot = new Tatamibot();
MockitoAnnotations.initMocks(this); // init bot and processor with mock dependency
ReflectionTestUtils.setField(bot, "idempotentRepository", idempotentRepository);
commonRouteBuilder = new CommonRouteBuilder();
ReflectionTestUtils.setField(commonRouteBuilder, "tatamiStatusProcessor", processor);
ReflectionTestUtils.setField(commonRouteBuilder, "lastUpdateDateTatamibotConfigurationUpdater", lastUpdateDateTatamibotConfigurationUpdater);
// common mock configuration :
when(userService.getUserByLogin("tatamibot@ippon.fr")).thenReturn(tatamibotUser);