/** * @covers ::get * @expectedException \Drupal\Core\TypedData\Exception\MissingDataException */ public function testGetWithoutData() { $this->entityAdapter->setValue(NULL); $this->entityAdapter->get('id'); }