def METHOD_NAME(self):
    model = ArrayModel(self._parent)
    self.assertTrue(model.insertRows(0, 2))
    self.assertEqual(model.rowCount(), 3)
    expected_index = [0, 1, 2]
    expected_data = ["0.0", "0.0", None]
    for row, (index, data) in enumerate(zip(expected_index, expected_data)):
        self.assertEqual(model.index(row, 0).data(), index)
        self.assertEqual(model.index(row, 1).data(), data)