docs: public void setup() {
          LogActivator.logToFile(logger, this.getName(), Level.ALL);
          
          introspector = JadeAgentIntrospector.getMyInstance(this);
  //        introspector.storeBeliefValue(this, Definitions.RECEIVED_MESSAGE_COUNT, 0);
          MockConfiguration configuration = (MockConfiguration) this.getArguments()[0];
  
          messages = new ArrayList<ACLMessage>();
          
          // Attemps to register the aggent.
          registered = false;
          try {
              AgentRegistration.registerAgent(this, configuration.getDFservice(), this.getLocalName());
              registered = true;
          } catch(FIPAException e) {
              logger.warning("Exception while registring the ListenerMock");
              logger.warning(e.getMessage()); // Will this show anything useful?
          }
  
          // Adds the behavior to store the messages.
          addBehaviour(new MessageReceiver());
      }