  @Test public void shouldReturnHeaderSpanSizeIfThePositionIsOneAndHasHeaderAndItemsConfigured() {

    HeaderSpanSizeLookup headerSpanSizeLookup = new HeaderSpanSizeLookupBuilder().withAdapter(
        new HeaderRecyclerViewAdapterBuilder().withHeader(givenAHeader())
            .withItems(givenSomeItems())
            .build())
        .withGridLayoutManager(new GridLayoutManagerBuilder().withSpanCount(THREE_ROWS).build())
        .build();

    assertEquals(1, headerSpanSizeLookup.getSpanSize(POSITION_ONE));
  }