@Test
public void when_isFormSubbmited_is_called_with_form() {

    // given
    initializeRequestParameterMap(new HashMap<String, String>() {
        {
            put("form", "form");
        }
    });
    UIForm form = mock(UIForm.class);
    when(form.getClientId(facesContext)).thenReturn("form");
    // when
    boolean result = utils.isFormSubmitted(facesContext, form);
    // then
    assertTrue(result);
}