/**
  * @param array $data
  * @param MeshConceptInterface $entity
  */
 protected function assertDataEquals(array $data, $entity)
 {
     // `mesh_concept_uid`,`mesh_term_id`
     $this->assertEquals($data[0], $entity->getId());
     // find the term
     $termId = (int) $data[1];
     $term = $entity->getTerms()->filter(function (MeshTermInterface $term) use($termId) {
         return $term->getId() === $termId;
     })->first();
     $this->assertNotEmpty($term);
 }