class RepositoryStore {

    public T get(RepositoryName from) {
        T repository = storedRepositories.get(from);
        if (repository == null) {
            throw new InvalidSourceRepositoryException(from);
        }
        return repository;
    }

    public  RepositoryStore(List<NamedParamRepository> allRepositories, Class<T> storedClass);

}