public static Repository load(Resolver resolver) throws IOException {
        Repository repository;

        repository = new Repository();
        repository.loadClasspath(resolver);
        repository.link();
        return repository;
    }
public static Repository load ( Resolver resolver ) throws IOException { Repository repository ; repository = new Repository ( ) ; repository . loadClasspath ( resolver ) ; repository . link ( ) ; return repository ; }
simplified load method for testing