//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldIncludeDynamicRecordSizes()
        public virtual void ShouldIncludeDynamicRecordSizes()
        {
            // given
            PropertyValueRecordSizeCalculator calculator = NewCalculator();

            // when
            int size = calculator.ApplyAsInt(new Value[] { Values.of(String(80)), Values.of(new string[] { String(150) }) });

            // then
            assertEquals(_propertyRecordSize + DYNAMIC_RECORD_SIZE + DYNAMIC_RECORD_SIZE * 2, size);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldSpanMultiplePropertyRecords()
        public virtual void ShouldSpanMultiplePropertyRecords()
        {
            // given
            PropertyValueRecordSizeCalculator calculator = NewCalculator();

            // when
            int size = calculator.ApplyAsInt(new Value[] { Values.of(10), Values.of("test"), Values.of(( sbyte )5), Values.of(String(80)), Values.of("a bit longer short string"), Values.of(1234567890123456789L), Values.of(5), Values.of("value") });

            // then
            assertEquals(_propertyRecordSize * 3 + DYNAMIC_RECORD_SIZE, size);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldIncludePropertyRecordSize()
        public virtual void ShouldIncludePropertyRecordSize()
        {
            // given
            PropertyValueRecordSizeCalculator calculator = NewCalculator();

            // when
            int size = calculator.ApplyAsInt(new Value[] { Values.of(10) });

            // then
            assertEquals(PropertyRecordFormat.RECORD_SIZE, size);
        }