code: def test_forbidden_methods(self):
      embedding = nx.PlanarEmbedding()
      embedding.add_node(42)  # no exception
      embedding.add_nodes_from([(23, 24)])  # no exception
      with pytest.raises(NotImplementedError):
          embedding.add_edge(1, 3)
      with pytest.raises(NotImplementedError):
          embedding.add_edges_from([(0, 2), (1, 4)])
      with pytest.raises(NotImplementedError):
          embedding.add_weighted_edges_from([(0, 2, 350), (1, 4, 125)])
  
imports: import pytest
  import networkx
  from networkx.algorithms.planarity import check_planarity_recursive, get_counterexample, get_counterexample_recursive
label_desc: Use image node_id 12 for calling the TestPlanarEmbeddingClass obj's underlying member method code with example usage: obj.test_forbidden_methods() without return types