function getExpectedSegments(uri) {
  return [
    'Nodejs/Middleware/Fastify/onRequest/testMiddleware',
    `Nodejs/Middleware/Fastify/onRequest/pathMountedMiddleware/${uri}`,
    `Nodejs/Middleware/Fastify/<anonymous>/${uri}`
  ]
}
Helper to return the list of expected segments

@param {Array} uri
@returns {Array} formatted list of expected segments