streamNames.add("a");
streamNames.add("b");
Map<String, SystemStreamMetadata> metadata = admin.getSystemStreamMetadata(streamNames);
assertEquals(2, metadata.size());
SystemStreamMetadata metadata1 = metadata.get("a");
SystemStreamMetadata metadata2 = metadata.get("b");
assertEquals(1, metadata1.getSystemStreamPartitionMetadata().size());
assertEquals(1, metadata2.getSystemStreamPartitionMetadata().size());
assertNull(metadata.get(new SystemStreamPartition("test-system", "c", new Partition(0))));
}