@Test
public void testAddPaginationToNodeWhenPagingIsFalse()
{

    // Given
    final RootNode anyRootNode = new RootNode( "any" );
    final WebOptions webOptionsNoPaging = mockWebOptionsWithPagingFlagFalse();
    final String anyUid = "LFsZ8v5v7rq";
    final int anyTotals = 12;
    // When
    dimensionItemPageHandler.addPaginationToNodeIfEnabled( anyRootNode, webOptionsNoPaging,
        anyUid, anyTotals );
    // Then
    assertThat( anyRootNode, is( notNullValue() ) );
    assertThat( anyRootNode.getName(), is( equalTo( "any" ) ) );
    assertThat( anyRootNode.getChildren(), is( empty() ) );
    verify( linkService, never() ).generatePagerLinks( any( Pager.class ), anyString() );
}