@Test
public void testSliceWhenPageSizeIsZero()
{

    // Given
    final int pageSize = 0;
    final int lastPage = 3;
    final int totalOfItems = 13;
    final WebOptions theWebOptions = mockWebOptions( pageSize, lastPage );
    final List<BaseDimensionalItemObject> anyDimensionalItems = mockDimensionalItems( totalOfItems );
    // Expect
    expectedException.expect( IllegalStateException.class );
    expectedException.expectMessage( "Page size must be greater than zero." );
    // When
    slice( theWebOptions, anyDimensionalItems );
}