### Question:
JmxHistoricalData { public Set<String> getTables() { return tables; } @Inject  JmxHistoricalData(JmxConnectorConfig jmxConfig, MBeanServer mbeanServer);  JmxHistoricalData(int maxEntries, Set<String> tableNames, MBeanServer mbeanServer); Set<String> getTables(); synchronized void addRow(String tableName, List<Object> row); synchronized List<List<Object>> getRows(String objectName, List<Integer> selectedColumns);  }### Answer:
@Test public void testWildCardPatterns() { JmxHistoricalData jmxHistoricalData = new JmxHistoricalData(MAX_ENTRIES, ImmutableSet.of("java.lang:type=c*"), getPlatformMBeanServer()); assertEquals(jmxHistoricalData.getTables(), ImmutableSet.of("java.lang:type=classloading", "java.lang:type=compilation")); }