code: def test_Interactions_with_missing_ids_raises_error(
      self,
      df_for_interactions_with_missing_ids,
      ratings_matrix_for_interactions_with_missing_ids,
      sparse_ratings_matrix_for_interactions_with_missing_ids,
  ):
      with pytest.raises(ValueError):
          Interactions(
              mat=ratings_matrix_for_interactions_with_missing_ids,
              check_num_negative_samples_is_valid=False,
          )
  
      with pytest.raises(ValueError):
          Interactions(
              mat=sparse_ratings_matrix_for_interactions_with_missing_ids,
              check_num_negative_samples_is_valid=False,
          )
  
      with pytest.raises(ValueError):
          Interactions(
              users=df_for_interactions_with_missing_ids["user_id"],
              items=df_for_interactions_with_missing_ids["item_id"],
              ratings=df_for_interactions_with_missing_ids["ratings"],
              check_num_negative_samples_is_valid=False,
          )
  
imports: import sys
  import numpy
  import pandas
  import pytest
  from collie.interactions import ApproximateNegativeSamplingInteractionsDataLoader, ExplicitInteractions, HDF5Interactions, HDF5InteractionsDataLoader, Interactions, InteractionsDataLoader
label_desc: Use image node_id 1 for calling the TestInteractionsWithMissingIDs obj's underlying member method code with example usage: obj.test_Interactions_with_missing_ids_raises_error(df_for_interactions_with_missing_ids, ratings_matrix_for_interactions_with_missing_ids, sparse_ratings_matrix_for_interactions_with_missing_ids) without return types