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