/** * @dataProvider getDefaultDesignTabsDataProvider */ public function testGetDefaultDesignTabs($appType) { $application = new Mage_XmlConnect_Model_Application(); $application->setType($appType); $tabs = $this->_helper->getDeviceHelper($application)->getDefaultDesignTabs(); $this->assertNotEmpty($tabs); foreach ($tabs as $tab) { $this->assertArrayHasKey('image', $tab); } }