### Question:
NoPruningPruningStrategy implements CoreLogPruningStrategy { @Override public long getIndexToKeep( Segments segments ) { return -1; }  @Override long getIndexToKeep( Segments segments );  }### Answer:
@Test public void shouldNotExcludeAnySegmentPages() { NoPruningPruningStrategy strategy = new NoPruningPruningStrategy(); long indexToKeep = strategy.getIndexToKeep( null ); assertEquals( -1, indexToKeep ); }