testPath (path) {
        var matchRegexObject = this._matchPatternObject;

        return !_.isEmpty(path.match(matchRegexObject.path));
    }
Tests if the current pattern allows the given path.

@param {String=} path The path to be checked if the pattern allows.
@returns {Boolean=}