def METHOD_NAME(self, initial, changes):
    """Check if getDBSummary has been updated as expected
    :param initial: Return value from ``self.requestClient.getDBSummary()``
                    before the test was started.
    :param changes: The expected changes to the database summary. Tuple
                    consisting of ``(parentKey, key, state, delta)``.
    """
    expected = copy.deepcopy(initial)
    for parent, key, state, delta in changes:
        if parent is None:
            d = expected
        else:
            d = expected.setdefault(parent, {})
        d.setdefault(key, {})
        d[key].setdefault(state, 0)
        d[key][state] += delta
    res = self.requestClient.getDBSummary()
    self.assertTrue(res["OK"])
    self.assertEqual(res["Value"], expected)