public void AutoAssignHeader() { KeyValuePair <string, string> header = HeaderFormatter.SforceAutoAssign(false); string result = string.Format("{0}: {1}", header.Key, header.Value); Assert.Equal("Sforce-Auto-Assign: FALSE", result); }
public void AutoAssignHeader() { Dictionary <string, string> customHeaders = HeaderFormatter.SforceAutoAssign(false); Assert.Single(customHeaders); var header = customHeaders.First(); string result = string.Format("{0}: {1}", header.Key, header.Value); Assert.Equal("Sforce-Auto-Assign: FALSE", result); }