@Test
public void givenConflictingFooterParameters_whenBuild_thenThrowsException() {

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