public void DebugItem_TruncateItemResultIfNeeded_With_ValueGreaterThanMaxCharDispatchCount_Expected_TruncatesValueToActCharDispatchCount() { var item = CreateDebugItemWithLongValue(); var debugState = new DebugItem(); debugState.TruncateItemResultIfNeeded(item); Assert.AreEqual(DebugItem.ActCharDispatchCount, item.Value.Length); }