public class SortedKeyValueStoreHeaderTest
{
@Test
public void shouldCreateAnEmptyHeader()
{
<BUG>SortedKeyValueStoreHeader header = SortedKeyValueStoreHeader.empty( ALL_STORES_VERSION );
assertEquals( BASE_TX_ID, header.lastTxId() );</BUG>
assertEquals( 0, header.dataRecords() );
assertEquals( 1, header.headerRecords() );
assertEquals( ALL_STORES_VERSION, header.storeFormatVersion() );

public class SortedKeyValueStoreHeaderTest
{
@Test
public void shouldCreateAnEmptyHeader()
{
SortedKeyValueStoreHeader header = with( ALL_STORES_VERSION, BASE_TX_ID, BASE_MINOR_VERSION );
assertEquals( BASE_TX_ID, header.lastTxId() );
assertEquals( 0, header.dataRecords() );
assertEquals( 1, header.headerRecords() );
assertEquals( ALL_STORES_VERSION, header.storeFormatVersion() );
