protected function EntityRevision::updateEntity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\destination\EntityRevision::updateEntity()
Don't test method from base class.
This method is from the parent and we aren't concerned with the inner workings of its implementation which would trickle into mock assertions. An empty implementation avoids this.
Overrides EntityContentBase::updateEntity
File
- core/
modules/ migrate/ tests/ src/ Unit/ destination/ EntityRevisionTest.php, line 225 - Contains \Drupal\Tests\migrate\Unit\destination\EntityRevisionTest.
Class
- EntityRevision
- Mock that exposes from internal methods for testing.
Namespace
Drupal\Tests\migrate\Unit\destinationCode
protected function updateEntity(EntityInterface $entity, Row $row) {
}