/** * @covers \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection::join */ public function testJoin() { $this->_collection->join(['w' => 'store_website'], 'main_table.website_id=w.website_id'); $this->assertContains('store_website', (string) $this->_collection->getSelect()); }