    @Test
    public void testPublicEndpoint() throws Exception {

        MvcResult mvcResult = mockMvc.perform(get("/api/public"))
                .andDo(print())
                .andExpect(status().isOk())
                .andReturn();
        
        assertNotNull(mvcResult.getResponse().getContentAsString());
    }