### Question:
SheetsPlugin implements Plugin { @Override public Iterable<ConnectorFactory> getConnectorFactories() { return ImmutableList.of(new SheetsConnectorFactory()); }  @Override Iterable<ConnectorFactory> getConnectorFactories();  }### Answer:
@Test public void testCreateConnector() throws Exception { Plugin plugin = new SheetsPlugin(); ConnectorFactory factory = getOnlyElement(plugin.getConnectorFactories()); Builder<String, String> propertiesMap = new Builder<String, String>().put("credentials-path", getTestCredentialsPath()).put("metadata-sheet-id", TEST_METADATA_SHEET_ID); Connector c = factory.create(GOOGLE_SHEETS, propertiesMap.build(), new TestingConnectorContext()); assertNotNull(c); }