예제 #1
0
 /**
  * testGet
  *
  * @since 2.1.0
  *
  * @param array $registry
  * @param array $expect
  *
  * @dataProvider providerGet
  */
 public function testGet($registry = array(), $expect = array())
 {
     /* setup */
     $this->_registry->init($registry);
     $options = array('className' => array('list' => 'list-breadcrumb', 'divider' => 'item-divider'));
     $breadcrumb = new Breadcrumb($this->_registry, $this->_language, $options);
     /* result */
     $result = $breadcrumb->get();
     /* compare */
     $this->assertEquals($expect, $result);
 }