private static void assertDatasetTwoHasWcsAccess(CatalogBuilder catBuilder) { DatasetBuilder dsBldr = assertGetDatasetTwo(catBuilder); List<AccessBuilder> accessBldrs = dsBldr.getAccessBuilders(); assertEquals(1, accessBldrs.size()); AccessBuilder access = accessBldrs.get(0); assertWcsAccess(access); }
private static void assertDatasetOneHasOdapAccess(CatalogBuilder catBuilder) { DatasetBuilder dsBldr = assertGetDatasetOne(catBuilder); List<AccessBuilder> accessBldrs = dsBldr.getAccessBuilders(); assertEquals(1, accessBldrs.size()); AccessBuilder access = accessBldrs.get(0); assertOdapAccessToFile1(access); }
private static void assertDatasetTwoHasNoAccess(CatalogBuilder catBuilder) { DatasetBuilder dsBldr = assertGetDatasetTwo(catBuilder); assertEquals(0, dsBldr.getAccessBuilders().size()); }