Example #1
0
 public function testIsCustomDesignAbstractions()
 {
     $expected = array('customer_account' => array('name' => 'customer_account', 'label' => 'Customer My Account (All Pages)', 'design_abstraction' => 'custom'), 'page_empty' => array('name' => 'page_empty', 'label' => 'All Empty Layout Pages', 'design_abstraction' => 'page_layout'), 'empty_data' => array());
     $this->assertTrue($this->_model->isCustomerDesignAbstraction($expected['customer_account']));
     $this->assertFalse($this->_model->isCustomerDesignAbstraction($expected['page_empty']));
     $this->assertFalse($this->_model->isCustomerDesignAbstraction($expected['empty_data']));
 }