def METHOD_NAME(monkeypatch):
    """Test the ``get_info`` method."""
    storage_backend = get_manager().get_profile_storage()
    def mock_get_info(self, detailed=False, **kwargs):  # pylint: disable=unused-argument
        output = {'value': 42}
        if detailed:
            output['extra_value'] = 0
        return output
    RepoBackendClass = get_manager().get_profile_storage().get_repository().__class__  # pylint: disable=invalid-name
    monkeypatch.setattr(RepoBackendClass, 'get_info', mock_get_info)
    storage_info_out = storage_backend.get_info()
    assert 'entities' in storage_info_out
    assert 'repository' in storage_info_out
    repository_info_out = storage_info_out['repository']
    assert 'value' in repository_info_out
    assert 'extra_value' not in repository_info_out
    assert repository_info_out['value'] == 42
    storage_info_out = storage_backend.get_info(detailed=True)
    repository_info_out = storage_info_out['repository']
    assert 'value' in repository_info_out
    assert 'extra_value' in repository_info_out
    assert repository_info_out['value'] == 42
    assert repository_info_out['extra_value'] == 0