def METHOD_NAME(
    order: int, coord_dtype: np.dtype, lazy: bool, with_bounds: bool
) -> None:
    """Test extent calculation of vector dimension coordinates."""
    metadata = create_metadata(
        dim_coord=True,
        scalar=False,
        order=order,
        coord_dtype=coord_dtype,
        lazy=lazy,
        with_bounds=with_bounds,
    )
    dim_metadata = [_CoordMetaData(metadata.coord, metadata.dims)]
    cube_signature = MockCubeSignature(
        dim_coords=[metadata.coord], dim_metadata=dim_metadata
    )
    coord_signature = _CoordSignature(cube_signature)
    assert len(coord_signature.dim_extents) == 1
    (actual,) = coord_signature.dim_extents
    first, last = coord_dtype(0), coord_dtype((N_POINTS - 1) * SCALE_FACTOR)
    if order == _CONSTANT:
        emsg = f"Expected 'order' of '{_DECREASING}' or '{_INCREASING}', got '{order}'."
        raise ValueError(emsg)
    points_extent = _Extent(min=first, max=last)
    bounds_extent = None
    if with_bounds:
        offset = SCALE_FACTOR // 2
        if order == _INCREASING:
            bounds_extent = (
                _Extent(min=first - offset, max=last - offset),
                _Extent(min=first + offset, max=last + offset),
            )
        else:
            bounds_extent = (
                _Extent(min=first + offset, max=last + offset),
                _Extent(min=first - offset, max=last - offset),
            )
    expected = _CoordExtent(points=points_extent, bounds=bounds_extent)
    assert actual == expected