/** * Test method '_getEntityAdapter' in case when entity is invalid * * @expectedException \Magento\Framework\Exception\LocalizedException * @covers \Magento\ImportExport\Model\Export::_getEntityAdapter */ public function testGetEntityAdapterWithInvalidEntity() { $this->_model->setData(['entity' => 'test']); $this->_model->getEntityAttributeCollection(); }