@Test
public void testManageReservationListSuccess() {

    // Prepare get request
    MockHttpServletRequestBuilder getRequest = MockMvcRequestBuilders.get(
            "/reservations/me");
    // Set mock behavior for helper method
    when(manageReservationHelper.list(userDetails)).thenReturn(
            new ArrayList<ReserveRowOutput>());
    try {
        ResultActions results = mockMvc.perform(getRequest);
        results.andExpect(status().isOk());
        results.andExpect(view().name("managereservation/list"));
        results.andExpect(model().attribute("rows", notNullValue()));
        return;
    } catch (Exception e) {
        e.printStackTrace();
    }
    fail(); // FAIL when exception is thrown
}