@@ -0,0 +1,1287 @@
+package io.teiler.api.endpoint;%0D%0A%0D%0Aimport org.junit.Assert;%0D%0Aimport org.junit.Test;%0D%0Aimport org.junit.runner.RunWith;%0D%0Aimport org.springframework.beans.factory.annotation.Autowired;%0D%0Aimport org.springframework.boot.context.embedded.LocalServerPort;%0D%0Aimport org.springframework.boot.test.context.SpringBootTest;%0D%0Aimport org.springframework.boot.test.web.client.TestRestTemplate;%0D%0Aimport org.springframework.http.HttpStatus;%0D%0Aimport org.springframework.http.ResponseEntity;%0D%0Aimport org.springframework.test.context.TestPropertySource;%0D%0Aimport org.springframework.test.context.junit4.SpringRunner;%0D%0A%0D%0Aimport io.teiler.server.Tylr;%0D%0A%0D%0A@RunWith(SpringRunner.class)%0D%0A@SpringBootTest(classes = Tylr.class, webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)%0D%0A@TestPropertySource(properties = %7B%22local.server.port=4567%22%7D)%0D%0Apublic class GroupEndpointTest %7B%0D%0A    %0D%0A    @LocalServerPort%0D%0A    private int port;%0D%0A    %0D%0A    @Autowired%0D%0A    private TestRestTemplate testRestTemplate;%0D%0A    %0D%0A    @Test%0D%0A    public void shouldReturn401WhenViewingGroupWithoutValidUUID() %7B%0D%0A        ResponseEntity%3CString%3E response = testRestTemplate.getForEntity(%22http://localhost:%22 + port + %22/v1/group%22, String.class);%0D%0A        Assert.assertEquals(HttpStatus.UNAUTHORIZED, response.getStatusCode());%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

add test for group-endpoint