import java.util.Collections;
import java.util.List;
public class DatasetInstanceHandlerTest extends DatasetServiceTestBase {
@Test
public void testBasics() throws Exception {
<BUG>List<DatasetSpecification> instances = getInstances().value;
</BUG>
Assert.assertEquals(0, instances.size());
DatasetProperties props = DatasetProperties.builder().add("prop1", "val1").build();
Assert.assertEquals(HttpStatus.SC_NOT_FOUND, createInstance("dataset1", "datasetType2", props));

import java.util.Collections;
import java.util.List;
public class DatasetInstanceHandlerTest extends DatasetServiceTestBase {
@Test
public void testBasics() throws Exception {
List<DatasetSpecification> instances = getInstances().getResponseObject();
Assert.assertEquals(0, instances.size());
DatasetProperties props = DatasetProperties.builder().add("prop1", "val1").build();
Assert.assertEquals(HttpStatus.SC_NOT_FOUND, createInstance("dataset1", "datasetType2", props));
