'use strict';

(function () {

  function _obj() {}

  _obj.prototype = {

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

    identify: function (phone) {
      if (phone && phone.length == 9) {
        return 'nineDigitsWithoutDdd';
      }
      return this.next.identify(phone);
    }
  };

  exports.nineDigitsWithoutDddIdentifier = _obj;
}());
