def METHOD_NAME(
    product_version, only_major_minor, ignore_pre_release, expected
):
    """
    This test is suppose to test if the get_semantic_version returns
    expected values which after the sting formatting are the same as the expected.
    Testing all different combinations of parameters and values.
    """
    tested_version = version.get_semantic_version(
        product_version, only_major_minor, ignore_pre_release
    )
    assert f"{tested_version}" == expected