Issue #2787657 by dawehner, alexpott: \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTest::testValidate