def METHOD_NAME(self):
    for mock in NonCallableMagicMock(), NonCallableMock():
        self.assertRaises(TypeError, mock)
        self.assertFalse(hasattr(mock, '__call__'))
        self.assertIn(mock.__class__.__name__, repr(mock))