public function testResetItemsDataChanged()
 {
     for ($i = 0; $i < 3; $i++) {
         $this->uut->addItem((new MagentoObject())->setDataChanges(true));
     }
     $this->assertTrue($this->uut->resetItemsDataChanged() instanceof Uut);
     foreach ($this->uut->getItems() as $item) {
         $this->assertFalse($item->hasDataChanges());
     }
 }
 public function testResetItemsDataChanged()
 {
     for ($i = 0; $i < 3; $i++) {
         /** @var \Magento\Framework\Model\AbstractModel $item */
         $item = $this->getMockForAbstractClass('Magento\\Framework\\Model\\AbstractModel', [], '', false);
         $this->uut->addItem($item->setDataChanges(true));
     }
     $this->assertTrue($this->uut->resetItemsDataChanged() instanceof Uut);
     foreach ($this->uut->getItems() as $item) {
         $this->assertFalse($item->hasDataChanges());
     }
 }