/**
  * @param $itemId
  * @param $expectedItem
  * @dataProvider getItemsDataProvider
  */
 public function testGetItems($itemId, $expectedItem)
 {
     $items = $this->_block->getItems();
     $this->assertCount(2, $items);
     $this->assertArrayHasKey($itemId, $items);
     $actualItem = $items[$itemId];
     $this->assertEquals($expectedItem['id'], $actualItem->getId());
     $this->assertEquals($expectedItem['label'], $actualItem->getLabel());
     $this->assertRegExp($expectedItem['url'], $actualItem->getUrl());
     $this->assertEquals($expectedItem['selected'], $actualItem->getSelected());
     $this->assertEquals($expectedItem['blockname'], $actualItem->getBlockName());
 }