function assertNodeTypeInLoop(code, nodeType, expectedInLoop) {
			const results = [];

			linter.defineRule("checker", {
				create: mustCall(() => ({
					[nodeType]: mustCall(node => {
						results.push(astUtils.isInLoop(node));
					}),
				})),
			});
			linter.verify(code, {
				rules: { checker: "error" },
				parserOptions: { ecmaVersion: 6 },
			});

			assert.lengthOf(results, 1);
			assert.strictEqual(results[0], expectedInLoop);
		}
Asserts that the unique node of the given type in the code is either
in a loop or not in a loop.
@param {string} code the code to check.
@param {string} nodeType the type of the node to consider. The code
     must have exactly one node of ths type.
@param {boolean} expectedInLoop the expected result for whether the
     node is in a loop.
@returns {void}