def METHOD_NAME(self):
    """
    Test for method calculate_metrics.
    Handle all given metrics with a scorer call.
    """
    for implemented_metric in self.all_implemented_metrics:
        self.assertIsInstance(Scorer([implemented_metric]).calculate_metrics([1, 1, 0, 1],
                                                       [0, 1, 0, 1],
                                                       [implemented_metric])[implemented_metric], float)
    for not_implemented_metric in self.some_not_implemented_metrics:
        with self.assertRaises(NameError):
            np.testing.assert_equal(Scorer(list(self.all_implemented_metrics)).calculate_metrics(
                [1, 1, 0, 1], [0, 1, 0, 1], [not_implemented_metric])[not_implemented_metric], np.nan)