def METHOD_NAME(
        self, mp_wfs, mp_get_schema, mp_remote_describefeaturetype,
        mp_wfs_max_features, mp_remote_wfs_paged_feature):
    """Test a search using max_features where the maximum is less than the
    WFS page size.
    Test whether the number of returned features is correct.
    Parameters
    ----------
    mp_wfs : pytest.fixture
        Monkeypatch the call to the remote GetCapabilities request.
    mp_wfs_max_features : pytest.fixture
        Monkeypatch the call to get the maximum features from the
        capabilities.
    mp_remote_wfs_paged_feature : pytest.fixture
        Monkeypatch the call to the remote WFS GetFeature, with support
        for paging.
    """
    s = BoringSearch()
    df = s.search(return_fields=['pkey_boring'], max_features=5)
    assert len(df) == 5