def METHOD_NAME(self):
    metrics = self.font.metrics()
    self.assertGreaterEqual(set(metrics),
        {'ascent', 'descent', 'linespace', 'fixed'})
    for key in metrics:
        self.assertEqual(self.font.metrics(key), metrics[key])
        self.assertIsInstance(metrics[key], int)
        self.assertIsInstance(self.font.metrics(key), int)