### Question:
VirtualReportDataSourceImpl extends ReportDataSourceImpl implements VirtualReportDataSource { @Override public void accept(ResourceVisitor visitor) { super.accept(visitor); dataSourceUriMap.values().stream().filter(Objects::nonNull).forEach(o -> o.accept(visitor)); }  Map<String, ResourceReference> getDataSourceUriMap(); void setDataSourceUriMap(Map<String, ResourceReference> dataSourceUriMap); Set<String> getSchemas(); void setSchemas(Set<String> schemas); String getTimezone(); void setTimezone(String timezone); @Override void accept(ResourceVisitor visitor);  }### Answer:
@Test public void accept_nullDependencies_success() { VirtualReportDataSourceImpl virtualReportDataSource = new VirtualReportDataSourceImpl(); virtualReportDataSource.accept(visitor); verify(visitor, times(1)).visit(virtualReportDataSource); }