Schema { public List<KeyspaceTablePair> toQualifiedTableList() { return new ArrayList<>(qualifiedTables); } Schema(Metadata metadata, JobConfiguration configuration);  Schema(Set<KeyspaceTablePair> qualifiedTables); Schema intersect(Schema other); List<KeyspaceTablePair> toQualifiedTableList(); int size(); @VisibleForTesting static Set<String> getKeyspaceFilter(JobConfiguration configuration); static Pair<Set<KeyspaceTablePair>, Set<KeyspaceTablePair>> difference(Schema first, Schema second);  }
@Test public void testToQualifiedTableList() { Schema schema = new Schema(ImmutableSet.of(kt1, kt2, kt3)); Assert.assertEquals(3, schema.size()); Assert.assertEquals(ImmutableSet.of(kt1, kt2, kt3), ImmutableSet.copyOf(schema.toQualifiedTableList())); }