def METHOD_NAME(self):
    s = self.settings
    scheme = {
        "name": str,
        "price": int
    }
    items = QSettings_readArray(s, "items", scheme)
    self.assertSequenceEqual(items, [])
    items_ = [
        {"name": "apple", "price": 10},
        {"name": "pear", "price": 12},
    ]
    QSettings_writeArray(s, "items", items_)
    items = QSettings_readArray(s, "items", scheme)
    self.assertSequenceEqual(items, items_)
    scheme = {
        "quality": (int, -1),
        **scheme
    }
    items = QSettings_readArray(s, "items", scheme)
    self.assertSequenceEqual(items, [{"quality": -1, **d} for d in items_])
    QSettings_writeArrayItem(
        s, "items", 1, {"name": "banana", "price": 5, "quality": 5},
        arraysize=2
    )
    items = QSettings_readArray(s, "items", scheme)
    self.assertSequenceEqual(items, [
        {"name": "apple", "price": 10, "quality": -1},
        {"name": "banana", "price": 5, "quality": 5}
    ])