Issue #2223423 by Xano, tim.plunkett: Stop extending \Drupal\Core\Entity\Entity in unit tests.