lt.pathFunc).sameStructure fldPathFunc

    expect(localResult.pathFunc).sameStructure subPathFunc

    expect(localResult.isError).toBe <span class="hljs-literal">true</span>

    expect(localResult.messages).sameStructure [
      {type: <span class="hljs-string">'error'</span>, path: <span class="hljs-string">'fieldA'</span>, code: <span class="hljs-string">'test.fieldError'</span>}
      {type: <span class="hljs-string">'error'</span>, path: <span class="hljs-string">'fieldA.propA'</span>, code: <sp