def mock_dataset(mocker, mock_mart, mart_datasets_response):
    """Returns an example dataset, built using a cached response."""

    mocker.patch.object(mock_mart, 'get', return_value=mart_datasets_response)
    return mock_mart.datasets['mmusculus_gene_ensembl']