@@ -0,0 +1,1185 @@
+package uk.ac.ebi.biosamples;%0A%0Aimport org.springframework.hateoas.MediaTypes;%0Aimport org.springframework.hateoas.client.Traverson;%0Aimport uk.ac.ebi.biosamples.client.BioSamplesClient;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Apublic class JsonLegacyNavigationIntegration extends AbstractIntegration%7B%0A%0A    private final BioSamplesProperties bioSamplesProperties;%0A%0A    public JsonLegacyNavigationIntegration(BioSamplesProperties biosamplesProperties, BioSamplesClient client) %7B%0A        super(client);%0A        this.bioSamplesProperties = biosamplesProperties;%0A    %7D%0A%0A    @Override%0A    protected void phaseOne() %7B%0A        Map%3CString, Object%3E parameters = new HashMap%3C%3E();%0A        parameters.put(%22text%22,%22TESTrestfacet1%22);%0A        Traverson traverson = new Traverson(bioSamplesProperties.getBiosamplesClientUri(), MediaTypes.HAL_JSON);%0A        Traverson.TraversalBuilder builder = traverson.follow(%22samples%22, %22facet%22).withTemplateParameters(parameters);%0A%0A    %7D%0A%0A    @Override%0A    protected void phaseTwo() %7B%0A%0A    %7D%0A%0A    @Override%0A    protected void phaseThree() %7B%0A%0A    %7D%0A%0A    @Override%0A    protected void phaseFour() %7B%0A%0A    %7D%0A%0A    @Override%0A    protected void phaseFive() %7B%0A%0A    %7D%0A%7D%0A

Create a new integration test for legacy JSON API navigation