DatasetInfo loadedView = importer.loadDatasetInfo(createdView.getId());
TestCase.assertNotNull(loadedView);
TestCase.assertEquals("published", loadedView.getPublicationStage());
final Soda2Consumer consumer = new Soda2Consumer(connection);
final SoqlQuery sortQuery = new SoqlQueryBuilder()
.addOrderByPhrase(new OrderByClause(SortOrder.Ascending, "name"))
.build();
List<NominationsWText> nominations = consumer.query(createdView.getId(), sortQuery, NominationsWText.LIST_TYPE);
TestCase.assertEquals(2, nominations.size());
TestCase.assertEquals("Kitty, Hello", nominations.get(0).getName());