RemoteYangTextSourceProviderImpl implements RemoteYangTextSourceProvider { @Override public Future<Set<SourceIdentifier>> getProvidedSources() { return akka.dispatch.Futures.successful(providedSources); } RemoteYangTextSourceProviderImpl(final SchemaRepository repository,
            final Set<SourceIdentifier> providedSources); @Override Future<Set<SourceIdentifier>> getProvidedSources(); @Override Future<YangTextSchemaSourceSerializationProxy> getYangTextSchemaSource(final SourceIdentifier identifier);  }
@Test public void testGetProvidedSources() throws Exception { Set<SourceIdentifier> remoteProvidedSources = Await.result(remoteRepository .getProvidedSources(), FiniteDuration.Zero()); assertEquals(providedSources, remoteProvidedSources); }