def METHOD_NAME(self, tmp_path: Path) -> None:
    """Test parse_params."""
    params = ParametersDataModel(
        src=str(tmp_path),
        dest="s3://dest/",
        dir_op=True,
        exclude=["exclude/*"],
        include=["include/*"],
    )
    result = Filter.parse_params(params)
    assert isinstance(result, Filter)
    assert result.patterns == [
        FilterPattern("exclude", f"{tmp_path}{os.sep}exclude/*"),
        FilterPattern("include", f"{tmp_path}{os.sep}include/*"),
    ]
    assert result.dest_patterns == [
        FilterPattern("exclude", "dest/exclude/*"),
        FilterPattern("include", "dest/include/*"),
    ]