public function getArray()
{
return $this->_breadcrumbArray;
}
/** * testGetArray * * @since 2.1.0 * * @param array $registryArray * @param array $expectArray * * @dataProvider providerGetArray */ public function testGetArray($registryArray = [], $expectArray = []) { /* setup */ $this->_registry->init($registryArray); $breadcrumb = new Breadcrumb($this->_registry, $this->_language); $breadcrumb->init(); /* actual */ $actualArray = $breadcrumb->getArray(); /* compare */ $this->assertEquals($expectArray, $actualArray); }