@SuppressWarnings("MethodName")
@Test
public void testThat_noExceptionThrown_when_searchingViewHierarchyThatContainsMultipleViews() {

    // Arrange
    final ViewGroup mockRootView = mock(ViewGroup.class);
    final int numberOfChildViews = 4;
    assert numberOfChildViews > 1;

    when(mockRootView.getChildCount()).thenReturn(numberOfChildViews);
    when(mockRootView.getChildAt(anyInt())).thenReturn(mock(View.class));

    // Act
    mapScreenshotProvider.locateMapViewsInHierarchy(mockRootView);
}