'use strict';

(function () {

  function _obj() {}

  _obj.prototype = {

    setNext: function (next) {
      this.next = next;
    },

    identify: function (phone) {
      if (phone && (phone.length == 13 || phone.length == 14) && phone.substring(0,2) == '00') {
        return 'zeroZeroCcNumber';
      }
      return this.next.identify(phone);
    }
  };

  exports.zeroZeroCcNumberIdentifier = _obj;
}());
