### Question:
JcrDataSourceProvider extends BaseJcrProvider<DataSource, DataSource.ID> implements DataSourceProvider { @Override public List<DataSource> findByConnector(ID connId, ID... moreIds) { return findByConnector(Stream.concat(Stream.of(connId), Arrays.asList(moreIds).stream()) .collect(Collectors.toSet())); }  @Override DataSource.ID resolveId(Serializable fid); @Override DataSource create(ID connId, String title); @Override List<DataSource> findByConnector(ID connId, ID... moreIds); @Override List<DataSource> findByConnector(Collection<ID> connIds); @Override Optional<DataSource> find(com.thinkbiganalytics.metadata.api.catalog.DataSource.ID id); @Override Class<? extends JcrEntity<?>> getJcrEntityClass(); @Override String getNodeType(Class<? extends JcrObject> jcrEntityType); @Override Optional<DataSource> findByNifiControlerServiceId(final String serviceId); String generateSystemName(String title);  }### Answer:
@Test(dependsOnMethods="testDelete") public void testFindByConnector() { metadata.read(() -> { List<DataSource> conns = this.dsProvider.findByConnector(this.connId); assertThat(conns).isNotNull(); assertThat(conns).hasSize(COUNT); }, MetadataAccess.SERVICE); }