def METHOD_NAME() -> None:
    mock_obj = "dummy_name_key"
    assert NamePartitionKey.key == "name"
    assert NamePartitionKey.type_ == str
    name_partition_key = NamePartitionKey.with_obj(obj=mock_obj)
    assert isinstance(name_partition_key, QueryKey)
    assert name_partition_key.key == "name"
    assert name_partition_key.type_ == str
    assert name_partition_key.value == mock_obj
    with pytest.raises(AttributeError):
        NamePartitionKey.with_obj(obj=[UID()])