Mockito.when(datasets.get("dataset")).thenReturn(datasetGet);
Mockito.when(datasetGet.execute()).thenReturn(new Dataset().setId("id").setName("1kg"));
Mockito.when(variants.search(Mockito.any(SearchVariantsRequest.class)))
.thenReturn(variantSearch);
Mockito.when(variantSearch.execute()).thenReturn(new SearchVariantsResponse()
.setVariants(Lists.<Variant>newArrayList()));
command.handleRequest(genomics);
String output = outContent.toString();