18 references to MessageContractConstants
Contract.Message.IntegrationTests (18)
MessageContractCommon.4.1.0.cs (3)
52
transaction.accountName =
MessageContractConstants
.customerElementValue;
54
MessageContractConstants
.dateElementValue = transaction.transactionDate.TimeOfDay.ToString();
55
transaction.amount = Convert.ToInt32(
MessageContractConstants
.transactionElementValue);
MessageContractTests.4.1.0.cs (15)
28
Assert.True(reader.NamespaceURI.Equals(
MessageContractConstants
.wrapperNamespace),
29
string.Format("reader.NamespaceURI - Expected: {0}, Actual: {1}",
MessageContractConstants
.wrapperNamespace, reader.NamespaceURI));
63
Assert.True(reader.LocalName.Equals(
MessageContractConstants
.dateElementName),
64
string.Format("Unexpected element order (2/5). Expected {0}, Actual: {1}",
MessageContractConstants
.dateElementName, reader.LocalName));
70
Assert.True(reader.LocalName.Equals(
MessageContractConstants
.transactionElementName),
71
string.Format("Unexpected element order (3/5). Expected: {0}, Actual: {1}",
MessageContractConstants
.transactionElementName, reader.LocalName));
77
Assert.True(reader.LocalName.Equals(
MessageContractConstants
.customerElementName),
78
string.Format("Unexpected element order (4/5). Expected: {0}, Actual: {1}",
MessageContractConstants
.customerElementName, reader.LocalName));
102
if (reader.LocalName.Equals(
MessageContractConstants
.customerElementName) && reader.NamespaceURI.Equals(
MessageContractConstants
.customerElementNamespace))
106
Assert.Equal(
MessageContractConstants
.customerElementValue, reader.Value);
116
string.Format("Expected element not found. Looking For: {0} && {1}",
MessageContractConstants
.customerElementName,
MessageContractConstants
.customerElementNamespace));
130
int index = headers.FindHeader(extraValue,
MessageContractConstants
.extraValuesNamespace);
148
int index = headers.FindHeader(extraValue,
MessageContractConstants
.extraValuesNamespace);