docs: function getDomain(domainName) {
      if (!isString(domainName)) {
          throw new InvalidException('domaiName should extists and be a string', domainName);
      }
      if (!domainsMap.has(domainName)) {
          console.warn(`You are trying to access a non existing domain: ${domainName}`);
          return Immutable.Map({});
      }
      return domainsMap.get(domainName);
  }