Package com.google.api.services.genomics.model

Examples of com.google.api.services.genomics.model.Dataset.clone()


    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());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.