/** * @covers ::getProperties */ public function testGetProperties() { $fields = $this->entityAdapter->getProperties(); $this->assertInstanceOf('Drupal\\Core\\Field\\FieldItemListInterface', $fields['id']); $this->assertInstanceOf('Drupal\\Core\\Field\\FieldItemListInterface', $fields['revision_id']); }