public virtual void CanSerializeSimpleError() { var client = new ExceptionlessClient(new ExceptionlessConfiguration(_resolver)); var exception = new ArgumentException("The argument cannot be null or empty", "value"); var evt = CreateSimpleEvent(); evt.Data[Event.KnownDataKeys.SimpleError] = exception.ToSimpleErrorModel(client); AssertEventSerialize(evt); }