### Question:
PageList { int getPageCount() { return pageCount; } PageList( int pageCount, int cachePageSize, MemoryAllocator memoryAllocator, SwapperSet swappers,
              long victimPageAddress, long bufferAlignment );   PageList( PageList pageList );   }### Answer:
@Test public void mustExposePageCount() { int pageCount; long victimPage = VictimPageReference.getVictimPage( pageSize, GlobalMemoryTracker.INSTANCE ); pageCount = 3; assertThat( new PageList( pageCount, pageSize, mman, swappers, victimPage, ALIGNMENT ).getPageCount(), is( pageCount ) ); pageCount = 42; assertThat( new PageList( pageCount, pageSize, mman, swappers, victimPage, ALIGNMENT ).getPageCount(), is( pageCount ) ); }