assertEquals( ALL_STORES_VERSION, header.storeFormatVersion() );
}
@Test
public void shouldUpdateHeader()
{
<BUG>SortedKeyValueStoreHeader header = SortedKeyValueStoreHeader.empty( ALL_STORES_VERSION );
SortedKeyValueStoreHeader newHeader = header.update( 42, 24, 12 );</BUG>
assertEquals( 24, newHeader.lastTxId() );
assertEquals( 12, newHeader.minorVersion() );
assertEquals( 42, newHeader.dataRecords() );

assertEquals( ALL_STORES_VERSION, header.storeFormatVersion() );
}
@Test
public void shouldUpdateHeader()
{
SortedKeyValueStoreHeader header = with( ALL_STORES_VERSION, BASE_TX_ID, BASE_MINOR_VERSION );
SortedKeyValueStoreHeader newHeader = header.update( 42, 24, 12 );
assertEquals( 24, newHeader.lastTxId() );
assertEquals( 12, newHeader.minorVersion() );
assertEquals( 42, newHeader.dataRecords() );
