//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void checkForMinimumBlockSize()
        public virtual void CheckForMinimumBlockSize()
        {
            Config config         = Config.defaults();
            int    testHeaderSize = 60;
            ResizableRecordFormats recordFormats = new ResizableRecordFormats(this, testHeaderSize);

            ExpectedException.expect(typeof(System.ArgumentException));
            ExpectedException.expectMessage("Block size should be bigger then " + MINIMAL_BLOCK_SIZE);

            (new RecordFormatPropertyConfigurator(recordFormats, config)).Configure();
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void overrideDefaultValuesForCurrentFormat()
        public virtual void OverrideDefaultValuesForCurrentFormat()
        {
            Config config         = Config.defaults();
            int    testHeaderSize = 17;
            ResizableRecordFormats recordFormats = new ResizableRecordFormats(this, testHeaderSize);

            (new RecordFormatPropertyConfigurator(recordFormats, config)).Configure();

            assertEquals(DEFAULT_BLOCK_SIZE - testHeaderSize, config.Get(string_block_size).intValue());
            assertEquals(DEFAULT_BLOCK_SIZE - testHeaderSize, config.Get(array_block_size).intValue());
            assertEquals(DEFAULT_LABEL_BLOCK_SIZE - testHeaderSize, config.Get(label_block_size).intValue());
        }