def METHOD_NAME(mock_agent_function, mock_agent_packages):
    """Add a mocked agent with mocked packages and force the full scan for that agent.
    Args:
        mock_agent_function (Fixture): Fixture for mocking an agent.
        mock_agent_packages (Fixture): Add mocked packages for mocked agent.
    """
    # Force sync status for packages
    agent_db.update_sync_info(agent_id=mock_agent_function, component="syscollector-packages")
    # Force the full scan
    agent_db.update_last_full_scan(1, agent_id=mock_agent_function)
    yield mock_agent_function