// ReSharper disable InconsistentNaming - Unit Test public void TryCache_With_NullParameters_Expected_ThrowsArgumentNullException() // ReSharper restore InconsistentNaming { var debugState = new DebugItem(); debugState.TryCache(null); }
public void TryCache_With_NullParameters_Expected_ThrowsArgumentNullException() { var debugState = new DebugItem(); debugState.TryCache(null); }
// ReSharper disable InconsistentNaming - Unit Test public void TryCache_With_ValueGreaterThanMaxCharDispatchCount_Expected_TruncatesValueToActCharDispatchCount() // ReSharper restore InconsistentNaming { var item = CreateDebugItemWithLongValue(); var debugState = new DebugItem(); debugState.TryCache(item); Assert.AreEqual(DebugItem.ActCharDispatchCount, item.Value.Length); }