def METHOD_NAME(self, cache, helper):
    self.node.get_descendant_count.return_value = STALE_MAX_CALCULATION_SIZE + 1
    cache().get_size.return_value = 123
    cache().get_modified.return_value = '2021-01-01 00:00:00'
    helper().modified_since.return_value = True
    size, stale = calculate_resource_size(self.node)
    self.assertEqual(123, size)
    self.assertTrue(stale)