@@ -0,0 +1,1425 @@
+package de.tblsoft.solr.http;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0A/**%0A * Created by tblsoft on 10.03.17.%0A */%0Apublic class HttpHelperTest %7B%0A%0A%0A    @Test%0A    public void removeQueryParameterTest() %7B%0A        String url = %22http://www.tblsoft.de/foo/bar?foo=bar%22;%0A        String actual = HTTPHelper.removeQueryParameter(url);%0A        Assert.assertEquals(%22http://www.tblsoft.de/foo/bar%22, actual);%0A    %7D%0A%0A    @Test%0A    public void removeQueryParameterWithEndingSlashTest() %7B%0A        String url = %22http://www.tblsoft.de/foo/bar/?foo=bar%22;%0A        String actual = HTTPHelper.removeQueryParameter(url);%0A        Assert.assertEquals(%22http://www.tblsoft.de/foo/bar/%22, actual);%0A    %7D%0A%0A    @Test%0A    public void removeQueryParameterWithoutQueryStringTest() %7B%0A        String url = %22http://www.tblsoft.de/foo/bar%22;%0A        String actual = HTTPHelper.removeQueryParameter(url);%0A        Assert.assertEquals(%22http://www.tblsoft.de/foo/bar%22, actual);%0A    %7D%0A%0A    @Test%0A    public void removeQueryParameterWithoutQueryStringAndEndingSlashTest() %7B%0A        String url = %22http://www.tblsoft.de/foo/bar/%22;%0A        String actual = HTTPHelper.removeQueryParameter(url);%0A        Assert.assertEquals(%22http://www.tblsoft.de/foo/bar/%22, actual);%0A    %7D%0A%0A    @Test%0A    public void removeQueryParameterNullTest() %7B%0A        String url = null;%0A        String actual = HTTPHelper.removeQueryParameter(url);%0A        Assert.assertNull( actual);%0A    %7D%0A%0A%7D%0A

add unit test for http helper class