def METHOD_NAME(self):
    m2ee_stats = {
        "memory": {
            "javaheap": -123,
            "memorypools": {"blah": "stuff"},
            "foo": "bar",
        }
    }
    with self.assertRaises(RuntimeError):
        PaidAppsMetricsEmitterThread._sanity_check_m2ee_stats(m2ee_stats)