def METHOD_NAME(datadir):
    font = classes.GSFont(str(datadir.join("PenTest.glyphs")))
    pen = fontTools.pens.recordingPen.RecordingPointPen()
    layer = font.glyphs["recording1"].layers[0]
    layer.drawPoints(pen)
    assert pen.value == [
        ("beginPath", (), {}),
        ("addPoint", ((0, 141), "line", False, None), {"userData": {}}),
        ("addPoint", ((0, 0), "line", False, None), {"userData": {}}),
        ("addPoint", ((162, 0), "line", False, None), {"userData": {}}),
        ("addPoint", ((162, 141), "line", False, None), {"userData": {}}),
        ("endPath", (), {}),
        ("beginPath", (), {}),
        ("addPoint", ((366, 0), "curve", True, None), {"userData": {}}),
        ("addPoint", ((413, 0), None, False, None), {"userData": {}}),
        ("addPoint", ((452, 32), None, False, None), {"userData": {}}),
        ("addPoint", ((452, 71), "curve", True, None), {"userData": {}}),
        ("addPoint", ((452, 109), None, False, None), {"userData": {}}),
        ("addPoint", ((413, 141), None, False, None), {"userData": {}}),
        ("addPoint", ((366, 141), "curve", True, None), {"userData": {}}),
        ("addPoint", ((319, 141), None, False, None), {"userData": {}}),
        ("addPoint", ((280, 109), None, False, None), {"userData": {}}),
        ("addPoint", ((280, 71), "curve", True, None), {"userData": {}}),
        ("addPoint", ((280, 32), None, False, None), {"userData": {}}),
        ("addPoint", ((319, 0), None, False, None), {"userData": {}}),
        ("endPath", (), {}),
        ("beginPath", (), {}),
        ("addPoint", ((64, 255), "move", False, None), {"userData": {}}),
        ("addPoint", ((56, 419), "line", False, None), {"userData": {}}),
        ("addPoint", ((186, 415), "line", False, None), {"userData": {}}),
        ("addPoint", ((189, 387), None, False, None), {"userData": {}}),
        ("addPoint", ((118, 295), None, False, None), {"userData": {}}),
        ("addPoint", ((196, 331), "curve", False, None), {"userData": {}}),
        ("endPath", (), {}),
        ("beginPath", (), {}),
        ("addPoint", ((266, 285), "move", False, None), {"userData": {}}),
        ("addPoint", ((412, 421), "line", False, None), {"userData": {}}),
        ("endPath", (), {}),
        ("beginPath", (), {}),
        ("addPoint", ((462, 387), "move", False, None), {"userData": {}}),
        ("addPoint", ((458, 358), None, False, None), {"userData": {}}),
        ("addPoint", ((514, 295), None, False, None), {"userData": {}}),
        ("addPoint", ((450, 301), "curve", False, None), {"userData": {}}),
        ("endPath", (), {}),
        ("addComponent", ("dieresis", Transform(1, 0, 0, 1, 108, -126)), {}),
        (
            "addComponent",
            ("adieresis", Transform(0.84572, 0.30782, -0.27362, 0.75175, 517, 308)),
            {},
        ),
    ]