def METHOD_NAME(self, mock_get_logger):
    mock_log = Mock()
    mock_get_logger.return_value = mock_log
    def simple(a):
        raise ValueError()
    assert safe_execute(simple, 1, expected_errors=(ValueError,)) is None
    assert mock_log.info.called
    assert mock_log.error.called is False