assertEquals( ALL_STORES_VERSION, newHeader.storeFormatVersion() );
}
@Test
public void shouldWriteHeaderInPageFile() throws IOException
{
<BUG>SortedKeyValueStoreHeader header = SortedKeyValueStoreHeader.empty( ALL_STORES_VERSION ).update( 42, 24, 12 );
try</BUG>
{
final PagedFile pagedFile = pageCache.map( file, pageCache.pageSize() );
header.write( pagedFile );

assertEquals( ALL_STORES_VERSION, newHeader.storeFormatVersion() );
}
@Test
public void shouldWriteHeaderInPageFile() throws IOException
{
SortedKeyValueStoreHeader header =
with( ALL_STORES_VERSION, BASE_TX_ID, BASE_MINOR_VERSION ).update( 42, 24, 12 );
try
{
final PagedFile pagedFile = pageCache.map( file, pageCache.pageSize() );
header.write( pagedFile );
