public function testGetUnnotifiedForInstance()
 {
     $orderId = 100000512;
     $entityType = 'order';
     $order = $this->getMock('Magento\\Sales\\Model\\Order', ['__wakeup', 'getEntityType', 'getId'], [], '', false);
     $order->expects($this->once())->method('getEntityType')->will($this->returnValue($entityType));
     $order->expects($this->once())->method('getId')->will($this->returnValue($orderId));
     $this->connectionMock = $this->collection->getResource()->getConnection();
     $this->connectionMock->expects($this->exactly(3))->method('prepareSqlCondition')->will($this->returnValueMap([['entity_name', $entityType, 'sql-string'], ['is_customer_notified', 0, 'sql-string'], ['parent_id', $orderId, 'sql-string']]));
     $result = $this->collection->getUnnotifiedForInstance($order);
     $this->assertEquals($this->historyItemMock, $result);
 }