### Question:
KuduPlugin implements Plugin { @Override public Iterable<ConnectorFactory> getConnectorFactories() { return ImmutableList.of(new KuduConnectorFactory()); }  @Override Iterable<ConnectorFactory> getConnectorFactories();  }### Answer:
@Test public void testCreateConnector() { Plugin plugin = new KuduPlugin(); ConnectorFactory factory = getOnlyElement(plugin.getConnectorFactories()); factory.create("test", ImmutableMap.of("kudu.client.master-addresses", "localhost:7051"), new TestingConnectorContext()); }