test_class.declarator: classUnderTest
test_class.modifier: private
test_class.original_string: private Bot classUnderTest;
test_class.type: Bot
test_class.var_name: classUnderTest
test_class.declarator: mockNotificationService
test_class.modifier: private
test_class.original_string: private NotificationService mockNotificationService;
test_class.type: NotificationService
test_class.var_name: mockNotificationService
test_class.file: alterego/src/test/java/de/linsin/alterego/BotTest.java
test_class.identifier: BotTest
test_case.body: @Test
      public void test_on_message_over_batch_size() {
          expect(mockNotificationService.notify((String)anyObject(), (String)anyObject())).andReturn(true);
          replay(mockNotificationService);
          for (int i = 0; i <= Bot.MESSAGE_BATCH_SIZE; i++) {
              classUnderTest.onMessage("", "", "", "", "test");
          }
          verify(mockNotificationService);
      }
test_case.class_method_signature: BotTest.test_on_message_over_batch_size()
test_case.full_signature: @Test public void test_on_message_over_batch_size()
test_case.identifier: test_on_message_over_batch_size
test_case.invocations: andReturn expect notify anyObject anyObject replay onMessage verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_on_message_over_batch_size()
focal_class.declarator: logger = Logger.getLogger(Bot.class.getName())
focal_class.modifier: protected final
focal_class.original_string: protected final Logger logger = Logger.getLogger(Bot.class.getName());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: alterEgoName
focal_class.modifier: private final
focal_class.original_string: private final String alterEgoName;
focal_class.type: String
focal_class.var_name: alterEgoName
focal_class.declarator: silentMode = false
focal_class.modifier: private
focal_class.original_string: private boolean silentMode = false;
focal_class.type: boolean
focal_class.var_name: silentMode
focal_class.declarator: notificationServices
focal_class.modifier: private
focal_class.original_string: private Collection<NotificationService> notificationServices;
focal_class.type: Collection<NotificationService>
focal_class.var_name: notificationServices
focal_class.declarator: messages
focal_class.modifier: private
focal_class.original_string: private Collection<String> messages;
focal_class.type: Collection<String>
focal_class.var_name: messages
focal_class.declarator: messagesTimer
focal_class.modifier: private
focal_class.original_string: private Timer messagesTimer;
focal_class.type: Timer
focal_class.var_name: messagesTimer
focal_class.declarator: MESSAGE_BATCH_SIZE = 20
focal_class.modifier: static final
focal_class.original_string: static final int MESSAGE_BATCH_SIZE = 20;
focal_class.type: int
focal_class.var_name: MESSAGE_BATCH_SIZE
focal_class.declarator: MESSAGE_BATCH_DELAY_MS = 60000
focal_class.modifier: static final
focal_class.original_string: static final int MESSAGE_BATCH_DELAY_MS = 60000;
focal_class.type: int
focal_class.var_name: MESSAGE_BATCH_DELAY_MS
focal_class.declarator: CHARSET = "UTF-8"
focal_class.modifier: public static final
focal_class.original_string: public static final String CHARSET = "UTF-8";
focal_class.type: String
focal_class.var_name: CHARSET
focal_class.file: alterego/src/main/java/de/linsin/alterego/Bot.java
focal_class.identifier: Bot
focal_class.class_method_signature: Bot.Bot(String argBotName, String argBotLogin, String argAlterEgoName)
focal_class.full_signature: public  Bot(String argBotName, String argBotLogin, String argAlterEgoName)
focal_class.identifier: Bot
focal_class.modifiers: public
focal_class.parameters: (String argBotName, String argBotLogin, String argAlterEgoName)
focal_class.signature:  Bot(String argBotName, String argBotLogin, String argAlterEgoName)
focal_class.class_method_signature: Bot.addNotificationService(NotificationService argService)
focal_class.full_signature: public void addNotificationService(NotificationService argService)
focal_class.identifier: addNotificationService
focal_class.modifiers: public
focal_class.parameters: (NotificationService argService)
focal_class.return: void
focal_class.signature: void addNotificationService(NotificationService argService)
focal_class.class_method_signature: Bot.onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_class.full_signature: @Override protected void onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_class.identifier: onMessage
focal_class.modifiers: @Override protected
focal_class.parameters: (String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_class.return: void
focal_class.signature: void onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_class.class_method_signature: Bot.onPrivateMessage(String argSender, String argLogin, String argHostname, String argMessage)
focal_class.full_signature: @Override protected void onPrivateMessage(String argSender, String argLogin, String argHostname, String argMessage)
focal_class.identifier: onPrivateMessage
focal_class.modifiers: @Override protected
focal_class.parameters: (String argSender, String argLogin, String argHostname, String argMessage)
focal_class.return: void
focal_class.signature: void onPrivateMessage(String argSender, String argLogin, String argHostname, String argMessage)
focal_class.class_method_signature: Bot.onJoin(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.full_signature: @Override protected void onJoin(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.identifier: onJoin
focal_class.modifiers: @Override protected
focal_class.parameters: (String argChannel, String argSender, String argLogin, String argHostname)
focal_class.return: void
focal_class.signature: void onJoin(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.class_method_signature: Bot.onPart(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.full_signature: @Override protected void onPart(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.identifier: onPart
focal_class.modifiers: @Override protected
focal_class.parameters: (String argChannel, String argSender, String argLogin, String argHostname)
focal_class.return: void
focal_class.signature: void onPart(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.class_method_signature: Bot.onQuit(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.full_signature: @Override protected void onQuit(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.identifier: onQuit
focal_class.modifiers: @Override protected
focal_class.parameters: (String argChannel, String argSender, String argLogin, String argHostname)
focal_class.return: void
focal_class.signature: void onQuit(String argChannel, String argSender, String argLogin, String argHostname)
focal_class.class_method_signature: Bot.onUserList(String argChannel, User[] argUsers)
focal_class.full_signature: @Override protected void onUserList(String argChannel, User[] argUsers)
focal_class.identifier: onUserList
focal_class.modifiers: @Override protected
focal_class.parameters: (String argChannel, User[] argUsers)
focal_class.return: void
focal_class.signature: void onUserList(String argChannel, User[] argUsers)
focal_class.class_method_signature: Bot.switchSilentMode(User[] argUsers)
focal_class.full_signature: private void switchSilentMode(User[] argUsers)
focal_class.identifier: switchSilentMode
focal_class.modifiers: private
focal_class.parameters: (User[] argUsers)
focal_class.return: void
focal_class.signature: void switchSilentMode(User[] argUsers)
focal_class.class_method_signature: Bot.format(String argSender, String argMessage)
focal_class.full_signature: private String format(String argSender, String argMessage)
focal_class.identifier: format
focal_class.modifiers: private
focal_class.parameters: (String argSender, String argMessage)
focal_class.return: String
focal_class.signature: String format(String argSender, String argMessage)
focal_class.class_method_signature: Bot.batchMessages(String argMessage)
focal_class.full_signature: private void batchMessages(String argMessage)
focal_class.identifier: batchMessages
focal_class.modifiers: private
focal_class.parameters: (String argMessage)
focal_class.return: void
focal_class.signature: void batchMessages(String argMessage)
focal_class.class_method_signature: Bot.processMessages()
focal_class.full_signature: private void processMessages()
focal_class.identifier: processMessages
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void processMessages()
focal_class.class_method_signature: Bot.sendToService(String argTitle, String argMessage)
focal_class.full_signature: private void sendToService(String argTitle, String argMessage)
focal_class.identifier: sendToService
focal_class.modifiers: private
focal_class.parameters: (String argTitle, String argMessage)
focal_class.return: void
focal_class.signature: void sendToService(String argTitle, String argMessage)
focal_class.class_method_signature: Bot.debug(String... argMessage)
focal_class.full_signature: private void debug(String... argMessage)
focal_class.identifier: debug
focal_class.modifiers: private
focal_class.parameters: (String... argMessage)
focal_class.return: void
focal_class.signature: void debug(String... argMessage)
focal_class.superclass: extends PircBot
focal_method.body: @Override
      protected void onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage) {
          debug("onMessage: ", "argChannel = " + argChannel, "argSender = " + argSender, "argLogin = " + argLogin, "argHostname = " + argHostname, "argMessage = " + argMessage);
          batchMessages(format(argSender, argMessage));
      }
focal_method.class_method_signature: Bot.onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_method.full_signature: @Override protected void onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_method.identifier: onMessage
focal_method.invocations: debug batchMessages format
focal_method.modifiers: @Override protected
focal_method.parameters: (String argChannel, String argSender, String argLogin, String argHostname, String argMessage)
focal_method.return: void
focal_method.signature: void onMessage(String argChannel, String argSender, String argLogin, String argHostname, String argMessage)