public void CapturesTraceTransfer() { var relatedActivityId = Some.Guid(); _traceListener.TraceTransfer(_traceEventCache, _source, _id, _message, relatedActivityId); LogEventAssert.HasMessage(_message, _loggedEvent); LogEventAssert.HasLevel(LogEventLevel.Debug, _loggedEvent); LogEventAssert.HasPropertyValue(_id, "TraceEventId", _loggedEvent); LogEventAssert.HasPropertyValue(_source, "TraceSource", _loggedEvent); LogEventAssert.HasPropertyValue(relatedActivityId, "RelatedActivityId", _loggedEvent); LogEventAssert.HasPropertyValue(TraceEventType.Transfer, "TraceEventType", _loggedEvent); }