code: def test_embedding_build(self, embd, get_mats):
      n_matrices, n_channels, n_comp = 8, 3, 4
      covmats = get_mats(n_matrices, n_channels, "spd")
  
      self.embd_fit(embd, covmats, n_comp)
      self.embd_fit_transform(embd, covmats, n_comp)
      self.embd_fit_independence(embd, covmats, n_comp)
      if "transform" in embd.__dict__.keys():
          self.embd_transform(embd, covmats, n_comp)
          self.embd_transform_error(embd, covmats, n_comp)
      self.embd_metric_error(embd, covmats, n_comp)
      self.embd_result(embd)
  
imports: from conftest import get_metrics
  import numpy
  from sklearn.neighbors import NearestCentroid
  from pyriemann.datasets import make_gaussian_blobs
  from pyriemann.embedding import SpectralEmbedding, LocallyLinearEmbedding, barycenter_weights, locally_linear_embedding
  import pytest
label_desc: Use image node_id 1 for calling the EmbeddingTestCase obj's underlying member method code with example usage: obj.test_embedding_build(embd, get_mats) without return types