@@ -0,0 +1,981 @@
+package uk.ac.ebi.quickgo.annotation.converter;%0A%0Aimport java.io.IOException;%0Aimport java.nio.file.Paths;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.context.support.PropertySourcesPlaceholderConfigurer;%0Aimport org.springframework.core.io.Resource;%0A%0A/**%0A * @author Tony Wardell%0A * Date: 26/01/2017%0A * Time: 10:47%0A * Created with IntelliJ IDEA.%0A */%0A@Configuration%0Aclass HeaderTestConfig %7B%0A%0A    @Value(%22$%7Bdownload.ontology.source%7D%22)%0A    private Resource resource;%0A%0A    /**%0A     * Ensures that placeholders are replaced with property values%0A     */%0A    @Bean%0A    static PropertySourcesPlaceholderConfigurer propertyPlaceHolderConfigurer() %7B%0A        return new PropertySourcesPlaceholderConfigurer();%0A    %7D%0A%0A    @Bean%0A    public Header header() throws IOException %7B%0A        return new Header(Paths.get(resource.getURI()));%0A    %7D%0A%7D%0A

Test configuration.