Dataset expectedDataset = new Dataset().setName("dataset")
.setProjectNumber(5L).setIsPublic(false);
Mockito.when(datasets.create(expectedDataset)).thenReturn(datasetCreate);
Mockito.when(datasetCreate.execute()).thenReturn(expectedDataset.clone().setId("id"));
command.handleRequest(genomics);
Map<String,String> previousDatasets = command.getPreviousDatasets();
assertEquals(1, previousDatasets.size());