def METHOD_NAME(self):
    expression = CucumberExpression(
        "I have a {color} ball", self._parameter_type_registry
    )
    transformed_argument_value = expression.match("I have a red ball")[0]
    assert transformed_argument_value.value == Color("red")