@@ -0,0 +1,1076 @@
+package no.javazone;%0A%0Aimport io.dropwizard.testing.junit.ResourceTestRule;%0Aimport org.junit.ClassRule;%0Aimport org.junit.Test;%0Aimport javax.ws.rs.client.WebTarget;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Apublic class HelloWorldResourceTest %7B%0A%0A    @ClassRule%0A    public static final ResourceTestRule resources = ResourceTestRule.builder()%0A            .addResource(new HelloWorldResource())%0A            .build();%0A%0A    @Test%0A    public void hello_world_svarer_med_positivt_heltall() throws Exception %7B%0A        final WebTarget resource = resources.client().target(%22/hello-world%22);%0A%0A        final Integer svar = resource.request().get(Integer.class);%0A%0A        assertThat(svar).isGreaterThanOrEqualTo(1);%0A    %7D%0A%0A    @Test%0A    public void hello_world_oeker_med_2_hver_gang() throws Exception %7B%0A        final WebTarget resource = resources.client().target(%22/hello-world%22);%0A%0A        final Integer svar = resource.request().get(Integer.class);%0A        final Integer svar2 = resource.request().get(Integer.class);%0A        assertThat(svar2).isEqualTo(svar + 1);%0A    %7D%0A%7D%0A

Add example test for testing a resource.