@Test
public void when_getSubmittedForm_is_called_on_postback_and_no_matching_component_is_found_then_null_is_returned() {

    // given
    initializeRequestParameterMap(new HashMap<String, String>() {
        {
            put("same_but_no_clientId", "same_but_no_clientId");
        }
    });
    UIViewRoot viewRoot = mock(UIViewRoot.class);
    when(facesContext.getViewRoot()).thenReturn(viewRoot);
    when(viewRoot.getFacetsAndChildren()).thenReturn(Arrays.asList(new UIComponent[] {}).iterator());
    when(facesContext.isPostback()).thenReturn(true);
    // when
    UIComponent result = utils.getSubmittedForm(facesContext);
    // then
    assertNull(result);
}