describe('/path/to{?key}', () => {
    it('should be uri entity', () => {
      assert.deepEqual(new UriParser('/path/to{?key}').parse(), {
        path: '/path/to',
        template: '/path/to{?key}',