command.variantIds = Lists.newArrayList("v1", "v2");
Mockito.when(variants.get("v1")).thenReturn(variantGet);
Mockito.when(variants.get("v2")).thenReturn(variantGet);
Mockito.when(variantGet.execute()).thenReturn(
new Variant().setReferenceName("contig1"),
new Variant().setReferenceName("contig2"));
command.handleRequest(genomics);
String output = outContent.toString();
assertTrue(output, output.contains("contig1"));