@Test
public void givenConflictingItemParameters_whenBuild_thenThrowsException() {

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