def METHOD_NAME(self) -> None:
    """Test __setattr__ with a property."""
    obj = SampleConfigComponentDefinition.parse_obj({"name": "test"})
    with pytest.raises(AttributeError):
        obj.no_set = "new value"  # type: ignore
    assert obj.can_set == "test.can_set"
    obj.can_set = "new"
    assert obj.can_set == "new.can_set"