from unittest.mock import Mock


def mock_data_manager(components):
    """Return a mock data manager of a general model."""
    dm = Mock()
    dm.components = components
    dm.fixed_components = []
    return dm