/** * Test prepare grid */ public function testGetLoadTreeUrl() { $row = new \Magento\Framework\DataObject(['id' => 1]); $this->assertStringStartsWith('http://localhost/index.php', $this->_treeBlock->getLoadTreeUrl($row), 'Tree load URL is invalid'); }