def METHOD_NAME(test_data):
    """
    Test for item create
    """
    exp_cmd = [
        "pcs",
        "-f",
        test_data.cib_filename,
        "item",
        "create",
        "item_id",
        "item_type",
    ]
    exp_cmd.extend(test_data.extra_args)
    mock_cmd = MagicMock()
    patch_salt = patch.dict(pcs.__salt__, {"cmd.run_all": mock_cmd})
    with patch_salt:
        pcs.item_create(
            "item",
            "item_id",
            "item_type",
            create="create",
            extra_args=test_data.extra_args,
            cibfile=test_data.cib_filename,
        )
    assert mock_cmd.call_args_list[0][0][0] == exp_cmd