@Test public void findDataSourceByUuidThrowsExceptionIfNotExists() throws Exception { Optional<? extends DataSourceApi> dataSource = state.getCurrentContainer().findDataSource("notexists"); assertThat(dataSource).isNotPresent(); }
public DataSourceContainer getCurrentContainer() { return containerV1; }
DataSourcesComponentState { public DataSourceContainer getCurrentContainer() { return containerV1; } }
DataSourcesComponentState { public DataSourceContainer getCurrentContainer() { return containerV1; }  }
DataSourcesComponentState { public DataSourceContainer getCurrentContainer() { return containerV1; }  DataSourceContainer getCurrentContainer(); void migrate(); }
DataSourcesComponentState { public DataSourceContainer getCurrentContainer() { return containerV1; }  DataSourceContainer getCurrentContainer(); void migrate(); public List<DataSource> dataSources; public DataSourceContainerV1 containerV1; }