@Test
public void testWithNoViewIdAndGuestUser() throws Exception {

    final ActionParameters params = createActionParams();
    handler.handleAction(params);
    // check that view was loaded with id 2 as we mocked the default view to be for guest user
    verify(viewService, times(1)).getViewWithConf(2);
    // check that the guest view matches
    verifyResponseContent(ResourceHelper.readJSONResource("GetAppSetupHandlerTest-view-guest.json", this));
}