def METHOD_NAME(entry_points_mock, mock_sdv):
    """Test loading an add-on."""
    # Setup
    entry_point = Mock()
    entry_point.name = 'sdv.submodule:entry_object.entry_method'
    entry_point.load.return_value = 'new_method'
    entry_points_mock.return_value = [entry_point]
    # Run
    _find_addons()
    # Assert
    entry_points_mock.assert_called_once_with(group='sdv_modules')
    assert mock_sdv.submodule.entry_object.entry_method == 'new_method'