def METHOD_NAME(self):
    # Test that :func:`iris.analysis.trajectory.interpolate` is called by
    # `Trajectory.interpolate`.
    cube = simple_3d()
    to_patch = "iris.analysis.trajectory.interpolate"
    waypoints = [
        {"latitude": 40, "longitude": 40},
        {"latitude": 0, "longitude": 0},
    ]
    sample_count = 3
    trajectory = Trajectory(waypoints, sample_count=sample_count)
    with mock.patch(to_patch, return_value=cube) as mock_interpolate:
        trajectory.interpolate(cube)
    mock_interpolate.assert_called_once()