@Test
public void givenConflictingEmptyParameters_whenBuild_thenThrowsException() {

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