public function testAddNameToSelect() { $this->_collection->addNameToSelect(); $joinParts = $this->_collection->getSelect()->getPart(\Magento\Framework\DB\Select::FROM); $this->assertArrayHasKey('e', $joinParts); $this->assertCount(1, $joinParts); }
public function testAddNameToSelect() { $this->_collection->addNameToSelect(); $joinParts = $this->_collection->getSelect()->getPart(\Magento\Framework\DB\Select::FROM); $this->assertArrayHasKey('e', $joinParts); $this->assertCount(1, $joinParts); }