@Test
public void givenConflictingHeaderParameters_whenBuild_thenThrowsException() {

    // Given
    final int itemId = 1;
    final int headerId = 3;
    // Expect exception
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage("headerResourceId and headerViewWillBeProvided cannot both be set");
    // When
    SectionParameters.builder()
            .itemResourceId(itemId)
            .headerViewWillBeProvided()
            .headerResourceId(headerId)
            .build();
}