  @Test
  public void whenSayingHiWithoutName_shouldReturnWithUsername() throws Exception {


    // when
    ResultActions result = sayHi();

    // then
    result.andExpect(status().is2xxSuccessful());
    result.andExpect(jsonPath("$.message", equalTo("Hello authenticated user testuser")));
  }